2. http://cran.r-project.org/
• Available for Linux,
MacOS X, and
Windows
• Follow the
appropriate link
• Download the
installer package
• You will need
administrator rights
to install
• Once installed, run
the program
2
3. http://rstudio.org/
• Also available for
Linux, MacOS, ro
Windows
• Click the blue button
• Click the button for
“Download R-Studio
Desktop”
• Download the
recommended package
• Install and test
3
4. Run R-Studio
Workspace shows
Console: Run R
available data
Commands Here
structures
Multi-tab display:
Shows graphics
and other info
4
5. Orient Yourself
• In the console area, type the following commands. Press
enter after each one. Figure out or find out what the
command does:
getwd()
history()
help(history)
newVar = 3.1415
newVar
ls()
installed.packages()
5
6. Demonstrating Mastery
• Bring your laptop to class
• Show that R and R-Studio have been installed by running R-
Studio
• Assign a value to a variable, then display that value, then
show that the variable exists on the R workspace
6