next up previous
Next: About this document ...

To Download R to Personal Computer

Getting Started in R

R is a Command Line language, which means you type in the commands at the prompt ">" and the output comes after you hit return. In other words, there are not drop down menus and mouse commands. Even if you use the "Windows" version, it is still works basically this way. This gives you a lot of control, but can make it a little intimidating at first. It's often a good idea, if you are doing a lot of complicated things, to have another screen open (like Notebook) for text editing so that you can save your commands.

We also are going to want to save files into a folder for future reference. When I refer to mydir you should type in an appropriate directory. An example might be

"C:/Documents and Settings/lelandID/My Documents"

Note that Windows uses a " $ \backslash$" to separate subdirectories, unlike Unix, which uses "/". To give a full path name in R using Windows, you can use the Unix "/" or use " $ \backslash$ $ \backslash$". You cannot just use the Windows " $ \backslash$".

For more information about finding your working directory, etc., see
http://www.stanford.edu/~epurdom/Saving/Saving.html

Plots

Writing Functions




next up previous
Next: About this document ...
Elizabeth Anne Purdom 2006-02-22