I want to install the latest RStudio. I followed the answer to
How you install R 3.2.2 in Ubuntu 14.04 LTS?
When I typed the last line of the answer
make && make install
I got error msg:
*** No targets specified and no makefile found stop.
rstudio
I want to install the latest RStudio. I followed the answer to
How you install R 3.2.2 in Ubuntu 14.04 LTS?
When I typed the last line of the answer
make && make install
I got error msg:
*** No targets specified and no makefile found stop.
Best Answer
1. Install R
The latest version of R is 3.5, but version 3.4 is also available. Do one of the following, depending on which version of Ubuntu you are using, and which version of R you want.
R 3.5 with Ubuntu 14.04 Trusty Tahr, 16.04 Xenial Xerus, 18.04 Bionic Beaver
For the latest R 3.5 packages, add the R repository and key. For more information, see The Comprehensive R Archive Network, Ubuntu.
(If http://cran.stat.ucla.edu/bin/linux/ubuntu does not work, or you want a mirror closer to you, replace
cran.stat.ucla.edu
with one of the URLs listed at CRAN Mirrors).R 3.4 with Ubuntu 14.04 Trusty Tahr, 16.04 Xenial Xerus, 17.10 Artful Aardvark
For the latest R 3.4 packages, add the R repository and key. For more information, see The Comprehensive R Archive Network, Ubuntu.
(If http://cran.stat.ucla.edu/bin/linux/ubuntu does not work, or you want a mirror closer to you, replace
cran.stat.ucla.edu
with one of the URLs listed at CRAN Mirrors).Universe Repository
Sometimes R may not available from The Comprehensive R Archive Network for your version of Ubuntu (this usually happens when a new version of Ubuntu has just been released), or you may just want to install the version of R packaged specifically for Ubuntu. In that case,
r-base
can be installed from the Universe repositories.Ensure "Community maintained free and open-source software (universe)" is selected in the Software & Updates tool. Then do the following.
2. Prepare to Install R Studio
R Studio requires the JPEG runtime library, so install it.
Prior to Ubuntu 17.10, R Studio required the GStreamer libraries, so do one of the following, depending on which version of Ubuntu you are using.
Ubuntu 12.04 to 16.04
Ubuntu 16.10 to 17.04 (32 bit)
Ubuntu 16.10 to 17.04 (64 bit)
(For more information, see https://mikewilliamson.wordpress.com/2016/11/14/installing-r-studio-on-ubuntu-16-10/).
Ubuntu 17.10 and higher
No additional packages are needed.
3. Install R Studio
Download the binary version of R Studio and install.
Be sure to use the latest version in the
wget
command. You can get the URL for the latest release by right-clicking on the Ubuntu Debian installer near the bottom of the R Studio Download page.Ubuntu 12.04 to 15.10 (32 Bit)
Ubuntu 12.04 to 15.10 (64 Bit)
Ubuntu 16.04 to 18.10 and higher (64 Bit only)
4. Optional
Prior to Ubuntu 17.10, if you want to show R or R Studio in the "Education" category in the Unity Dash, instead of the "Development" category, do the following, respectively.