Difference between revisions of "Software tutorial/Software installation"

From Statistics for Engineering
Jump to navigation Jump to search
m
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Navigation|Book=Software tutorial|previous=About the course software|current=Tutorial index|next=Software installation}}
{{Navigation|Book=Software tutorial|previous=About the course software|current=Tutorial index|next=Getting started}}
__NOTOC__


== Installing R on a Mac ==
==Zero installation option (new in 2016) ==
{{#widget:YouTube|id=Icawuhf0Yqo}}
 
If you'd like to use R on your tablet, mobile phone, or simply try it without installing anything, visit:
<span style="font-size: 150%;"> '''[http://yint.org/Rweb http://yint.org/Rweb]'''</span>
 
This website contains the full version on R, and all the add-on packages you need for this course. You can even save your files and come back to them later on their website.
 
== Install R on your own computer? ==
{|
|-
| width="600px"|
* Official website: http://www.r-project.org/
* These instructions were update last on 02 January 2016; the R version at that time was version 3.2.3.
 
<br><hr><br>
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.
# We will install the R software first
# Then we will install R studio as the editor
|{{#widget:YouTube|id=JbTMvQ-SbvQ}}
 
This video shows how to use RStudio: it looks the same on Windows, Mac and Linux.
|}
 
==Windows installation ==
 
 
{|
|-
| width="600px"|
As mentioned above, install 2 software packages:
# '''Base R package'''
#* Visit the R-website: http://cran.r-project.org/bin/windows/base/
#* Download and install the EXE file linked at the top of the page.
#* Use the default settings, including the 32-bit option
# '''RStudio, an excellent editor for R'''
#* Visit the RStudio website http://www.rstudio.com/ide/download/desktop
#* Save and install the EXE file
|{{#widget:YouTube|id=mfGFv-iB724}}
|}
 
== Mac installation ==
 
{|
|-
| width="600px" |
As mentioned above, install 2 software packages:
# '''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.
#* <tt>R.app</tt> will automatically be added to your Applications folder
# '''RStudio, an excellent editor for R'''
#* 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
|{{#widget:YouTube|id=Icawuhf0Yqo}}
|}
 
== Linux installation ==
 
# '''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
# '''RStudio, an excellent editor for R'''
#* Visit the RStudio website http://www.rstudio.com/ide/download/desktop
#* Save and open the DEB or RPM file and install the software in the regular way for your platform
 
{{Navigation|Book=Software tutorial|previous=About the course software|current=Tutorial index|next=Getting started}}

Latest revision as of 22:35, 19 January 2016

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


Zero installation option (new in 2016)

If you'd like to use R on your tablet, mobile phone, or simply try it without installing anything, visit: http://yint.org/Rweb

This website contains the full version on R, and all the add-on packages you need for this course. You can even save your files and come back to them later on their website.

Install R on your own computer?

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



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

This video shows how to use RStudio: it looks the same on Windows, Mac and Linux.

Windows installation

As mentioned above, install 2 software packages:

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

Mac installation

As mentioned above, install 2 software packages:

  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
← About the course software (previous step) Tutorial index Next step: Getting started →