Difference between revisions of "Software tutorial/Software installation"

From Statistics for Engineering
Jump to navigation Jump to search
m
m
Line 1: Line 1:
{{Navigation|Book=Software tutorial|previous=About the course software|current=Tutorial index|next=Getting started}}
{{Navigation|Book=Software tutorial|previous=About the course software|current=Tutorial index|next=Getting started}}


== General ==
{| class="wikitable"
|-
| width="600px"|
* Official website: http://www.r-project.org/
* Official website: http://www.r-project.org/
* These instructions were update last on 14 January 2013; the R version at that time was version 2.15.2
* These instructions were update last on 14 January 2013; the R version at that time was version 2.15.2
Line 7: Line 11:
# We will install the R software first
# We will install the R software first
# Then we will install R studio as the editor
# Then we will install R studio as the editor
{| class="wikitable"
|-
! About RStudio: video applies to Mac, Windows and Linux
|-
|{{#widget:YouTube|id=JbTMvQ-SbvQ}}
|{{#widget:YouTube|id=JbTMvQ-SbvQ}}
|}
|}


==Windows installation ==
==Windows installation ==
Line 20: Line 18:
{| class="wikitable"
{| class="wikitable"
|-
|-
|
| width="600px"|
# '''Base R package'''
# '''Base R package'''
#* Visit the R-website: http://cran.r-project.org/bin/windows/base/
#* Visit the R-website: http://cran.r-project.org/bin/windows/base/
Line 28: Line 26:
#* Visit the RStudio website http://www.rstudio.com/ide/download/desktop
#* Visit the RStudio website http://www.rstudio.com/ide/download/desktop
#* Save and install the EXE file
#* Save and install the EXE file
|
|{{#widget:YouTube|id=mfGFv-iB724}}
{{#widget:YouTube|id=mfGFv-iB724}}
|}
|}


== Mac installation ==
== Mac installation ==


{| class="wikitable"
|-
| width="600px" |
# '''Base R package'''
# '''Base R package'''
#* Visit the R-website: http://cran.r-project.org/bin/macosx/
#* Visit the R-website: http://cran.r-project.org/bin/macosx/
Line 42: Line 42:
#* Visit the RStudio website http://www.rstudio.com/ide/download/desktop
#* Visit the RStudio website http://www.rstudio.com/ide/download/desktop
#* Save and open the DMG file; drag the RStudio icon to your Applications folder
#* Save and open the DMG file; drag the RStudio icon to your Applications folder
|{{#widget:YouTube|id=Icawuhf0Yqo}}
|}


== Linux installation ==
== Linux installation ==

Revision as of 01:26, 15 January 2013

← About the course software (previous step) Tutorial index Next step: Getting started →

General

  • Official website: http://www.r-project.org/
  • These instructions were update last on 14 January 2013; the R version at that time was version 2.15.2

R is a standalone package. However, to get the most benefit, you must install a good editor side-by-side with R. That means you have to install two software tools today.

  1. We will install the R software first
  2. Then we will install R studio as the editor

Windows installation

  1. Base R package
  2. RStudio, an excellent editor for R

Mac installation

  1. Base R package
    • Visit the R-website: http://cran.r-project.org/bin/macosx/
    • Download and install the PKG file linked at the top of the page.
    • Use all the default settings during the installation.
    • R.app will automatically be added to your Applications folder
  2. RStudio, an excellent editor for R


Linux installation

  1. Base R package
    • Visit the R-website: http://cran.r-project.org/bin/linux/
    • Choose your Linux distribution: Debian, Redhat, Suse or Ubuntu
    • Download and install the software in the regular way for your platform
  2. RStudio, an excellent editor for R