[R-sig-Debian] Ubuntu 12.04 and R 2.15

Michael Rutter mar36 at psu.edu
Mon Jun 24 13:52:43 CEST 2013



On 06/24/2013 12:57 AM, Matthew Brigida wrote:
> 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

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



-- 
Dr. Michael A. Rutter
School of Science
Penn State Erie, The Behrend College
4205 College Drive
Erie, PA 16563
http://math.bd.psu.edu/faculty/rutter
mar36 at psu.edu



More information about the R-SIG-Debian mailing list