Downloading R and RStudio in Linux




“I'm not a great programmer; I'm just a good programmer with great habits.” Kent Beck

About R programming language:


R is a language and environment for statistical computing and graphics. It is a GNU project which is similar to the S language and environment which was developed at Bell Laboratories(formerly AT&T, now Lucent Technologies) by John Chambers and colleagues. R provides a wide variety of statistical (linear and nonlinear modeling, classical statistical tests, time-series analysis, classification, clustering, …) and graphical techniques, and is highly extensible.


R is available as Free Software under the terms of the free Software Foundation’sGNU General Public License in source code form. It compiles and runs on a wide variety of UNIX platforms and similar systems (including FreeBSD and Linux), Windows, and macOS.


R environment :

It is an integrated suite of software facilities for data manipulation, calculation, and graphical display. It includes:

  • It has an effective data handling and storage facility.

  • It uses a suite of operators for calculations on arrays, in particular matrices.

  • It has a large, coherent, integrated collection of intermediate tools for data analysis.

  • It has graphical facilities for data analysis and display either on-screen or on hardcopy.

  • It is a well-developed, simple and effective programming language that includes conditionals, loops, user-defined recursive functions, and input and output facilities.

The term “environment” is intended to characterize it as a fully planned and coherent system, rather than an incremental accretion of very specific and inflexible tools, as is frequently the case with other data analysis software.


Let's move towards download and installation of R :


There are two ways to install R in Linux, one is through the terminal and another is through Ubuntu Software Center. In this blog I will tell you about both the ways.

Through Terminal :

  • Open terminal by right click on desktop or by typing Ctrl + Alt + T

  • Then execute :

$ sudo apt-get update
  • After updating is over then write:

$ sudo apt-get install r-base



Through Ubuntu Software center :

  • Open Ubuntu Software Center

  • Search for r-base

  • And click install

You have successfully installed r-base.


Download RStudio IDE :

To install RStudio IDE, perform below steps:

  • Step 1: Go to the link.

  • Step 2: Click on Download RStudio Desktop.

  • Step 3: Click on rstudio downloading link according to your OS.




  • Step 4: Now open terminal using Ctrl+Alt+T and then execute the command :

$ sudo gdebi rstudio-1.2.5042-amd64.deb

Tip: If you don't have installed gdebi then click and download first

  • Step 5: After installing is completed start RStudio IDE using command:

$ rstudio



Here, the installation of RStudio is over.






12 views

Contact Us

Mob:  9067957548

blogpost@datasciencefever.com

  • Instagram
  • Facebook
  • LinkedIn
Rate UsDon’t love itNot greatGoodGreatLove itRate Us
Google Home: Over 100 of the funniest questions to ask Google Home