Skip to content

Upgrade R 3.2 to 3.3 using tar.gz file on Ubuntu 16.04

7 messages · Luigi Marongiu, Marc Schwartz, Jeff Newmiller +2 more

#
Dear all,
I am working on Linux Ubuntu 16.04 and I have installed R 3.2. I need
to upgrade to R 3.3 and I tried several options available online with
no success. I downloaded the tar.gz file for R 3.3 and I would like to
ask how can I use this file in order to accomplish the upgrade.
Many thanks,
Luigi
#
Luigi Marongiu <marongiu.luigi at gmail.com> writes:
Have you looked here:

https://cran.r-project.org/doc/manuals/r-release/R-admin.html#Installing-R-under-Unix_002dalikes

?

Cheers,

Loris
#
There is a dedicated e-mail list for R on Debian and derivatives like Ubuntu:

  https://stat.ethz.ch/mailman/listinfo/r-sig-debian

You should subscribe to that list and then post your query there.

The answer to your question will depend, to a large extent, on how you installed R in the first place.

There are pre-compiled binaries available for R on Debian and derivatives, thanks to extensive efforts on the part of Dirk and others to maintain those repositories.

The R-SIG-Debian subscribers can help you, but be sure to indicate how you installed the version of R that you are currently using when you post there.

Regards,

Marc Schwartz
#
For this query I would rather recommend [1] as reference, though Marc's suggestion to switch mailing lists is best.

[1] https://cran.r-project.org/bin/linux/ubuntu/
#
Jeff Newmiller <jdnewmil at dcn.davis.ca.us> writes:
But doesn't this merely describe how to install the version of R
packaged for his version of Ubuntu?  As I understood the OP, he has
already installed this version, which is 3.2.3, but would like to
install 3.3.1, which he will have to install from the sources.

If this is the case, then there is no point reposting to r-sig-debian,
since he just has to do a generic unix-like install.

Cheers,

Loris
#
Dear Luigi,

You have to modify the /etc/apt/source.list file in order to add a new 
depot to get a new R version. Everything is explained on the page 
https://cran.r-project.org/bin/linux/ubuntu/ .

Alain
On 13/09/16 15:00, Luigi Marongiu wrote:

  
    
#
No, the default Ubuntu version is behind but that link tells how to properly install the current version using the packaging system, which makes it more easily maintained than a custom compile would be.  (Thanks, Dirk, Michael and Vincent!) Anyway, still OT here.