[R-sig-Debian] Re : Install latest R version from apt on Lenny

Johannes Ranke jranke at uni-bremen.de
Mon Apr 19 15:30:15 CEST 2010


Hi,

if you want the latest R version on lenny, please follow the instructions in 
the README that Dirk gave already pointed to:

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

Installing packages with the method Denis just sketched is much more 
cumbersome as dependencies are not automatically resolved.

Note that in the line 

	deb http://<favorite-cran-mirror>/bin/linux/debian lenny-cran/

you need to substitude <favorite-cran-mirror> by one of the mirror URLs listed 
in

	http://cran.r-project.org/mirrors.html

Kind regards,

Johannes

Am Montag, 19. April 2010 10:54:48 schrieb denis brion:
> You can download a recent R package with the command :
>  wget
>  http://cran.r-project.org/bin/linux/debian/lenny-cran/r-base-core_2.10.1-2
> ~lennycran.0_i386.deb (one line) (works in any system, even in cygwin);
>  perhaps it would be a nice repository to add to your list....-as it is the
>  place where the latest version is- Then, you might use wajig
>  http://www.togaware.com/linux/survivor/Wajig_Overview.html with the option
>  "--simulate" to know which is missing (without installing, therefore you
>  can know if it might generate dependency conflicts).
> 
> >From http://www.togaware.com/linux/survivor/Installing_Packages0.html
> 
> the command line :
> sudo wajig --simulate install r-base-core-dbg_2.10.1-2~lennycran.0_i386.deb
> might give you the list of waht you need, without installing : if all your
>  dependencies are OK -ie you can find in the repositories you trust- , you
>  can remove "--simulate" and courageously relaunch;
> 
> FYI : there is a nice how to in http://wiki.debian-facile.org/manuel:apt
>  (treats wajig, too).
> 
> Sorry I cannot go further (looked at two *.deb files dependencies from
>  cygwin without fully testing), but I do not use debian on
>  [mon-thurs]days...
> 
> --- En date de : Lun 19.4.10, Biau David <djmbiau at yahoo.fr> a écrit :
> 
> De: Biau David <djmbiau at yahoo.fr>
> Objet: Install latest R version from apt on Lenny
> À: r-sig-debian at r-project.org
> Cc: dbrion1 at yahoo.fr
> Date: Lundi 19 avril 2010, 2h21
> 
> 
> 
> well, I had the site and page and I had added the relevant backport but it
>  didn't work and i keep installing R 2.7 . Don't know why; i probably
>  missed something.
> 
> ####
> May be you should add in your mail the file :
> /etc/apt/sources.list  (I suppose there might be a typo, as IT addresses
>  are long and booring, and AFAIK, correcting a typo one made is **very**
>  difficult).
> 
> 
> FYI binary installs are (/were)  meant to make users life(s) easier, and
>  are (/should be) therefore easier and faster: on the long term, if you go
>  beyond "it does not work" (which makes very mysterious to find what is
>  missing) , this will (might) come true...
> 
> ####
> Hi Denis,
> 
> Here it is. I have add some issues with my source list since revently. I
>  think after trying the instalation though. I have therefore deleted some
>  souce list that seemed duplicates to me. There are still some duplicates
>  that I cannot install. The file looks worse than on Synaptic. It looks
>  like I have a lot more in the file than actually appear on Synaptic.
> 
> Clearly I should have tried to go beyong the "it does not work..." but I
>  gave it a fair try (you remember) and I had to get my work back on track.
>  Also, I learned by installing the way you told me, that is, installing R
>  where I want so I may now install different versions of R.
> 
> > /etc/apt/sources.list
> 
> # deb cdrom:[Debian GNU/Linux 5.0.3 _Lenny_ - Official i386 NETINST
>  Binary-1 20090906-12:06]/ lenny main
> 
> # deb cdrom:[Debian GNU/Linux 5.0.3 _Lenny_ - Official i386 NETINST
>  Binary-1 20090906-12:06]/ lenny main
> 
> deb http://ftp.fr.debian.org/debian/ lenny main contrib
> deb-src http://ftp.fr.debian.org/debian/ lenny main contrib
> 
> deb http://security.debian.org/ lenny/updates main contrib
> deb-src http://security.debian.org/ lenny/updates main contrib
> 
> deb http://volatile.debian.org/debian-volatile lenny/volatile main
> deb http://ftp.fr.debian.org/debian/ lenny-proposed-updates main contrib
> deb-src http://ftp.fr.debian.org/debian/ lenny-proposed-updates main
>  contrib deb http://security.debian.org/debian-security lenny/updates main
> deb http://security.debian.org/debian-security lenny/updates main
> deb http://security.debian.org/debian-security lenny/updates main
> deb http://security.debian.org/debian-security lenny/updates main
> deb http://www.backports.org/debian lenny-backports main contrib non-free
> deb http://download.videolan.org/pub/videolan/debian sid main
> deb http://ftp.us.debian.org/debian etch main contrib non-free
> 
> I have changed the subject of the post.
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 	[[alternative HTML version deleted]]
> 



More information about the R-SIG-Debian mailing list