Installing R and RStudio - Easy R Programming
In our previous article, we described what is R and why you should learn R. In this article, we’ll describe briefly how to install R and RStudio on Windows, MAC OSX and Linux platforms. RStudio is an integrated development environment for R that makes using R easier. It includes a console, code editor and tools for plotting.
To make things simple, we recommend to install first R and then RStudio.
R can be downloaded and installed on Windows, MAC OSX and Linux platforms from the Comprehensive R Archive Network (CRAN) webpage (http://cran.r-project.org/).
- After installing R software, install also the RStudio software available at: http://www.rstudio.com/products/RStudio/.
Install R and RStudio on windows
Install R for windows
- Download the latest version of R, for Windows, from CRAN at : https://cran.r-project.org/bin/windows/base/
Double-click on the file you just downloaded to install R
Cick ok –> Next –> Next –> Next …. (no need to change default installation parameters)
Install Rtools for Windows
Rtools contains tools to build your own packages on Windows, or to build R itself.
- Download Rtools version corresponding to your R version at: https://cran.r-project.org/bin/windows/Rtools/. Use the latest release of Rtools with the latest release of R.
- Double-click on the file you just downloaded to install Rtools (no need to change default installation parameters)
Install RStudio on Windows
- Download RStudio at : https://www.rstudio.com/products/rstudio/download/
Install R and RStudio for MAC OSX
Download the latest version of R, for MAC OSX, from CRAN at : https://cran.r-project.org/bin/macosx/
Double-click on the file you just downloaded to install R
Cick ok –> Next –> Next –> Next …. (no need to change default installation parameters)
Download and install the latest version of RStudio for MAC at: https://www.rstudio.com/products/rstudio/download/
Install R and RStudio on Linux
- R can be installed on Ubuntu, using the following Bash script:
sudo apt-get install r-base
- RStudio for Linux is available at https://www.rstudio.com/products/rstudio/download/
To install the latest version of R for linux, read this: Installing R on Ubuntu
Further ressources for installing R and RStudio
It is relatively simple to install R, but if you need further help you can try the following resources:
Infos
This analysis has been performed using R software (ver. 3.2.3).
Show me some love with the like buttons below... Thank you and please don't forget to share and comment below!!
Montrez-moi un peu d'amour avec les like ci-dessous ... Merci et n'oubliez pas, s'il vous plaît, de partager et de commenter ci-dessous!
Recommended for You!
Recommended for you
This section contains the best data science and self-development resources to help you on your path.
Books - Data Science
Our Books
- Practical Guide to Cluster Analysis in R by A. Kassambara (Datanovia)
- Practical Guide To Principal Component Methods in R by A. Kassambara (Datanovia)
- Machine Learning Essentials: Practical Guide in R by A. Kassambara (Datanovia)
- R Graphics Essentials for Great Data Visualization by A. Kassambara (Datanovia)
- GGPlot2 Essentials for Great Data Visualization in R by A. Kassambara (Datanovia)
- Network Analysis and Visualization in R by A. Kassambara (Datanovia)
- Practical Statistics in R for Comparing Groups: Numerical Variables by A. Kassambara (Datanovia)
- Inter-Rater Reliability Essentials: Practical Guide in R by A. Kassambara (Datanovia)
Others
- R for Data Science: Import, Tidy, Transform, Visualize, and Model Data by Hadley Wickham & Garrett Grolemund
- Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow: Concepts, Tools, and Techniques to Build Intelligent Systems by Aurelien Géron
- Practical Statistics for Data Scientists: 50 Essential Concepts by Peter Bruce & Andrew Bruce
- Hands-On Programming with R: Write Your Own Functions And Simulations by Garrett Grolemund & Hadley Wickham
- An Introduction to Statistical Learning: with Applications in R by Gareth James et al.
- Deep Learning with R by François Chollet & J.J. Allaire
- Deep Learning with Python by François Chollet
Click to follow us on Facebook :
Comment this article by clicking on "Discussion" button (top-right position of this page)