[R-sig-Debian] Upgrade from 2.11.1 to 2.14.2 options?

Mathieu Basille basille at ase-research.org
Wed Mar 14 17:29:39 CET 2012


Oh, Johannes is right, I didn't see that one. Forget about the pinning then 
(well, it can be useful, but you probably don't need it. To give you an 
idea: http://jaqque.sbih.org/kplug/apt-pinning.html).

apt-cache policy gives you the status of the package of interest. From 
yours, it's clear that you didn't have the repository activated.

Mathieu.


Le 14/03/2012 02:41, jranke at uni-bremen.de a écrit :
> Jim,
>
>> I added this line to the sources.list file it's my closest mirror.
>> deb-src http://cran.wustl.edu/bin/linux/debian squeeze-cran/
>
> In this line, change "deb-src" to "deb" and run
>
> apt-get update
>
> and
>
> apt-get install r-base r-base-dev
>
> You only activated the source package repository, but you only need the
> repository of compiled packages, unless you use an architecture other than
> i386 or amd64.
>
> Kind regards,
>
> Johannes
>
>> Ran apt-get update and then apt-get install r-base r-base-dev
>> No errors returned seemed to run clean.
>> Ran sessionInfo() from within R and it returns 2.11.1
>>
>> Am I doing something wrong?
>> Do I need to take a different approach?
>>
>> I have this link but I'm not sure of what I need off of it. If I do need to
>> pull something from it.
>>
>> Index of /bin/linux/debian/squeeze-cran
>>
>> Thanks
>>
>>
>> For a backport of the latest R release to squeeze, simply add something
>> like
>>
>> deb http://<favorite-cran-mirror>/
>> bin/linux/debian squeeze-cran/
>>
>> to the file /etc/apt/sources.list on your computer and install as
>> usual. Note that you need to substitute <favorite-cran-mirror> by one of
>> the
>> mirror URLs listed in
>>
>> http://cran.r-project.org/mirrors.html
>>
>> There are binaries for the i386 and amd64 architectures. You
>> can use the source packages from
>>
>> deb-src http://<favorite-cran-mirror>/bin/linux/debian squeeze-cran/
>>
>> to compile binaries for other platforms.
>>
>> With an appropriate entry in /etc/apt/sources.list, the newest R release
>> can be
>> installed using a command sequence like
>>
>> apt-get update
>> apt-get install r-base r-base-dev
>>
>> [[alternative HTML version deleted]]
>>
>> _______________________________________________
>> R-SIG-Debian mailing list
>> R-SIG-Debian at r-project.org
>> https://stat.ethz.ch/mailman/listinfo/r-sig-debian
>>
>
> _______________________________________________
> R-SIG-Debian mailing list
> R-SIG-Debian at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-debian

-- 

~$ whoami
Mathieu Basille, Post-Doc

~$ locate
Laboratoire d'Écologie Comportementale et de Conservation de la Faune
+ Centre d'Étude de la Forêt
Département de Biologie
Université Laval, Québec

~$ info
http://ase-research.org/basille

~$ fortune
``If you can't win by reason, go for volume.''
Calvin, by Bill Watterson.



More information about the R-SIG-Debian mailing list