A guide on how to install R and RStudio application on Windows, Linux.
You are here to get step-by-step tutorials to install R.
In this article, you will learn how to install R language and RStudio IDE (on your system: Windows, or Linux OS).
R is an open source language which was designed and built for the statistical computing and graphics. It can run on any OS platform and has a very large, vibrant community. R is a popular language for Data Science and Statistics.
It has a large number of packages for statistical modeling, data manipulation, Analysis and making high-quality graphics.
Here, you can get an overview ofR Programming Language.
RStudio is an integrated development environment (IDE) for R users. It is a great IDE which has features like R console, code editor, tools for plotting, history, debugging and workspace management.
Download R installer fromWindows
Open the installer, Leave all default settings in the installation options. Choose the 64bit or 32 bit as your system.
Download the WindowsRStudio installer
Run the installer leave all the default settings in installation options.
Open RStudio or Rgui to play with R programming.
Open the Terminal and type following command for installing R
sudo apt-get install r-base r-base-dev sudo apt-get update
sudo yum install R sudo yum update
Download the Rstudio Desktop Installer for your Linux distribution fromhttps://www.rstudio.com/products/rstudio/download/#download
Run the installer leave all the default settings in installation option
Open Rstudio or usesudo -i Rin terminal and play with R language
There is another Browser-based IDE called Rstudio server. It provides the service same as the desktop Rstudio and can be used from the remote Linux server. Rstudio server is only available for Debian and Ubuntu.
Open a terminal and use the following command
#64 bit sudo apt-get install gdebi-core wget https://download2.rstudio.org/rstudio-server-1.1.456-amd64.deb sudo gdebi rstudio-server-1.1.456-amd64.deb
# 32bit sudo apt-get install gdebi-core wget https://download2.rstudio.org/rstudio-server-1.1.456-i386.deb sudo gdebi rstudio-server-1.1.456-i386.deb
After you have installed R and RStudio, you can now install R packages easily.
install.packages("tidyverse") install.packages("rmarkdown") install.packages("readxl")