Information Technology Reference
In-Depth Information
The Recipes
1.1 Downloading and Installing R
Problem
You want to install R on your computer.
Solution
Windows and OS X users can download R from CRAN, the Comprehensive R Archive
Network. Linux and Unix users can install R packages using their package management
tool.
Windows
• Open http://www.r-project.org/ in your browser.
• Click on “CRAN”. You'll see a list of mirror sites, organized by country.
• Select a site near you.
• Click on “Windows” under “Download and Install R”.
• Click on “base”.
• Click on the link to download the latest version of R (an .exe file).
• When the download completes, double-click the .exe file and answer the usual
questions.
OS X
• Open http://www.r-project.org/ in your browser.
• Click on “CRAN”. You'll see a list of mirror sites, organized by country.
• Select a site near you.
• Click on “MacOS X”.
• Click on the .pkg file for the latest version of R, under “Files:”, to download it.
• When the download completes, double-click the .pkg file and answer the usual
questions.
 
Search WWH ::




Custom Search