Skip to content

Ubuntu 12.04 and R 2.15

5 messages · Martin Gilchrist, Dirk Eddelbuettel, Matthew Brigida +1 more

#
On 23 June 2013 at 11:54, Martin Gilchrist wrote:
| I'm not sure this is the location to pose this question.? If not, please let me know.

Sure is

| Does anyone know if R 2.15 is can be built for Ubuntu 12.04??( I did attempt a build and it failed to configure due to missing X11 headers/libs. )
| ?
| I'm trying to install some R packages that are not available for R 2.14, which is the last supported version available?under Ubuntu 12.04.?? I can update Ubuntu to 12.10 where R 2.15 is available, but Ubuntu 12.04 has been designated to have long term support and I'd like to keep it rather than upgrade to a shorter lifespan version.

Prebuild binaries exist for your convenience. Read the README at

   http://cran.r-project.org/bin/linux/ubuntu/

carefully.  By default, you will get the newest R version, ie 3.0.1, for your
chosen distribution -- which can be Ubuntu 12.04 -- but you can also pick an
older release by hand if you prefer.

Hth, Dirk
#
As Dirk mentioned by default you should get the latest version of R.  To see add (inserting your mirror):

deb http://<my.favorite.cran.mirror>/bin/linux/ubuntu precise/

to your /etc/apt/sources.list [don't forge the last 's' in sources] and then

$ sudo apt-get update

Then you can see what version you would install (without actually installing anything) by:

$ apt-get --simulate install r-base


Matt 

--
Matthew Brigida
www.complete-markets.com
#
On 06/24/2013 12:57 AM, Matthew Brigida wrote:
Once you have installed the correct CRAN repository in sources.list, the 
correct term for using a particular version of a package is "pinning."

Here are some helpful guides:

https://help.ubuntu.com/community/PinningHowto

http://askubuntu.com/questions/51124/hold-packages-back-from-updates-without-apt-pin

http://askubuntu.com/questions/27063/how-to-hold-a-package-back-from-being-upgraded

Synaptic is very helpful, because it can show you which versions are 
available to be installed.

Michael