Stat 325/425 HowTo

Originally written by Peng Liu, modified minimally by Professor Sun
  1. Download and Install SSH

    Please go to the following webpage to

    Download SSH

  2. Transfer files between Stat. Linux mashines and your PC through SSH

    (1) Launch SSH, click Quick Connect, input Host Name (e.g., User Name (your login name for EPBI Unix/Linux system) and Port Number 22, then click connect and it'll prompt you to input password -- You are in!

    (2) Find and click the New File Transfer icon under Window, you should be able to see a new file transfer window pop up. The left side shows the files and folders in your PC and the right side shows the files and folders under your Unix/Linux account. You could easily tranfer files by drag and drop -- give it a try!

    (3) Remember to upload your R/S+ code script files to Stat. Unix/Linux system before submitting your hard copy solution to each assignment. Please also write down the path to your code on your hard copy solution so that TA could easily find them. For example, my login name is peng, and I've already created a folder named s425 for the class and uploaded my R code file hw1.R to the folder, the path to the file should be peng/s425/hw1.R

  3. Read the data files under Dr.Sun's Unix/Linux account into R/S+ on your PC

    Let's use the example in lab1 notes

    (1) Start SSH and login to Stat. Unix/Linux system with your account name and password.

    (2) Type

         mkdir s425

         cd s425

         cp ~jiayang/public_html/425/contest/mushmod.dat .


      You should be able to see the data file named mushmod.dat in your folder.

    (3) Use the method introduced in 2(2) to download the file mushmod.dat to your PC, say, under C:/

    (4) Start R/S+ in your PC, and type



      see the data? Note for Splus or R in Windows, one needs to use \\ for a backslash (used to describe a path such as C:\Documents and Settings\jiayang\Desktop\Sdata), while for Splus or R in Linux/Mac/webpages, one uses a / for a forwardslash (used to describe a path in these systems, such as /home/jiayang/...)