Running R Commander

Running R Commander - That will become your default...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Running R Commander First, copy the file “.Rprofile” from R:\Fall2007\ESM-206A\R to your H:\ folder. Now start R from the programs menu (e.g., Programs -> ScienceApps -> R -> R 2.5.1). Some text will appear on a console window, some windows will flash on and off of the screen, but eventually you will see something like this: There is one more setup step which will make your life much easier. By default, whenever you browse for a file, you will be started in the program directory. Make a copy of the R shortcut (right-click and drag from the Program menu to, say your desktop). Right click the new shortcut and select “Properties”. In the “Start in” box, enter H:\ (or the path to any directory you want to work in, such as H:\ESM206).
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: That will become your default directory for R, and whenever you browse for a data file you will start there. I recommend that you look through the Rcmdr tutorial (linked on the course webpage) to get an overview of the program and how to do some basic stuff. For data input, I do not recommend using the built-in data editor. Instead, enter your data in Excel. The data should be in a worksheet with no other graphs or text. The data should be in columns, and the first row should contain variable names. When you open the file through Rcmdr, you will be asked to choose which worksheet you want to import from....
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online