Upload
syracuse-university
View
9.262
Download
4
Embed Size (px)
DESCRIPTION
Part of advanced analytics course.
Citation preview
Advanced Data Analytics: Installing R and R-Studio
Jeffrey Stanton
School of Information Studies
Syracuse University
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
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
Run R-Studio
4
Console: Run R Commands Here
Workspace showsavailable datastructures
Multi-tab display:Shows graphicsand other info
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.1415newVarls()installed.packages()
5
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