module 1 installing setting up r n.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
Module 1 Installing & Setting Up R PowerPoint Presentation
Download Presentation
Module 1 Installing & Setting Up R

Loading in 2 Seconds...

play fullscreen
1 / 16

Module 1 Installing & Setting Up R - PowerPoint PPT Presentation


  • 118 Views
  • Uploaded on

Module 1 Installing & Setting Up R. Do. Learn. See & Hear. Read. PowerPoint must be in View Show Mode to See videos and hyperlinks. Module 1 Setting Up R What We’ll Cover. Installing R Working Directory Set R Shortcut to point to Working Directory Using R Working with R Console

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'Module 1 Installing & Setting Up R' - courtney-erickson


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
module 1 installing setting up r
Module 1Installing & Setting Up R

Do

Learn

See & Hear

Read

PowerPoint must be in View Show Mode to

See videos and hyperlinks

Install & Setup

module 1 setting up r what we ll cover
Module 1 Setting Up RWhat We’ll Cover
  • Installing R
  • Working Directory
  • Set R Shortcut to point to Working Directory
  • Using R
    • Working with R Console
    • Running Simple R Script
  • Getting Help
  • R packages

Install & Setup

installing r
Installing R
  • Latest version of R available at CRAN website:http://www.r-project.org/

Install & Setup

installing r1
Installing R

Click video box to see video on downloading & installing R

Install & Setup

installing r2
Installing R
  • Latest version of R available at CRAN website:http://www.r-project.org/
  • Video Demonstration - Downloading & Installing R
  • Your Turn
    • Go to CRAN Site (http://www.r-project.org)
    • Select Mirror Site
    • Download Base
  • When R is installed continue slides

Install & Setup

working directory shortcut video
Working Directory & Shortcut Video

Click video box to see video on Working Directory & R Shortcut

Install & Setup

working directory
Working Directory
  • RGUI.exe is installed in C:\Program Files\R\R-2.8.1\bin
  • R Uses C:\Program Files\R\R-2.8.1\bin as default directory for all R script files
  • Create Your Own Working Directory to save your R scripts
    • Go to Windows Explorer
    • Create a new folder
      • Pick a name you will remember
      • Let’s use (C:\Learn_R)
      • Once you have your new work folder, copy path from address window)

Install & Setup

r shortcut on desktop
R Shortcut on Desktop
  • R Shortcut loads RGUI.exe program and uses Start in directory for location of all R scripts
  • To Configure Desktop R Shortcut to use your Working Directory for Start in: Right click Shortcut, select Properties
  • Specify Start in path so that R looks in Working Directory you previously created (previous slide) for R Script Files
    • Paste you’re C:\Learn_R
  • Now, when you use R shortcut to start R, your C:\Learn_R ory will be where you want it

Install & Setup

r windows
R Windows

R’s Working Windows

    • R Console
    • Script Editor
    • Graphic Window – shows graphic results
  • User Work is done in Editor
  • R Console Communicates with R
  • R Console & Graphics window show results

Video on next slide

shows an R session

Install & Setup

using r
Using R

Click video box to see video on Using R

Install & Setup

your turn to work with r
Your Turn to Work With R
  • It’s Time for you to try R
  • Your Assignment
    • Run R (Go to Desktop, double click your R shortcut)
    • R Console
      • Try basic arithmetic in R Console
      • Try the Up arrow to recall previous commands
      • Clear R Console (right click in window, select Clear)
    • Run R Script
      • Open Script (Scr_1_1_Simple_Chart_script.R)
      • Run script (Control-A; Control-R)
      • Try to change color to “blue”

Install & Setup

getting help
Getting Help
  • R Console
    • help()
    • ?
  • On Line Help: R Seek website (http://rseek.org)
  • R Documentation & Tutorials
    • CRAN documentation (http://www.r-project.org/ select manuals)

Video on next slide shows how

to get help in R and on-line

Install & Setup

getting help1
Getting Help

Click video box to see video on R Help Resources

Install & Setup

r packages
R Packages
  • What are R Packages
  • Installing R Packages on Your System
  • Getting Information on R Packages

Video on next slide shows how

to install & find out about packages

Install & Setup

r packages1
R packages

Click video box to see video on R Packages

Install & Setup

module 1 wrap up
Module 1 Wrap up
  • Congratulations – you are well on your way to Learning R
  • So far you have:
    • Installed R
    • Set up your working directory
    • Configured your R shortcut to Start in your working directory
    • Learned about the R Console window
    • Learned about the R Script Editor Window
    • Learned about the R Graphics Window
    • Ran an R script
    • Learned about R help
    • Learned about R packages
  • When you are ready, go to Module 2: Moving Between Excel and R Worlds

Remember: you can replay the videos at any time

Install & Setup