6
Advanced Data Analytics: Installing R and R-Studio Jeffrey Stanton School of Information Studies Syracuse University

Installing R and R-Studio

Embed Size (px)

DESCRIPTION

Part of advanced analytics course.

Citation preview

Page 1: Installing R and R-Studio

Advanced Data Analytics: Installing R and R-Studio

Jeffrey Stanton

School of Information Studies

Syracuse University

Page 2: Installing R and R-Studio

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

Page 3: Installing R and R-Studio

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

Page 4: Installing R and R-Studio

Run R-Studio

4

Console: Run R Commands Here

Workspace showsavailable datastructures

Multi-tab display:Shows graphicsand other info

Page 5: Installing R and R-Studio

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

Page 6: Installing R and R-Studio

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