installation - How to install 2 different R versions on Debian? -
on our server, r 2.12.1 installed following instructions on http://cran.r-project.org/bin/linux/debian/ , using apt-get install etc etc.
due circumstances old lenny machine hasn't been updated new stable debian, , looks isn't happen soon. of research here depends on latest version of vgam, need r 2.14.0 installed on debian. in order keep old code running, can't drop r 2.12.1 (installing vgam 0.8.4 on version gives errors).
so need install 2 r-versions. little understood, if use apt-get upgrade old version replaced new. i've been going through heaps of documentation, can't find optimal way of doing so.
the thing imagine now, try build latest r source, colleagues not keen on idea , prompted me first solution. info missed, or willing show me little trick done? if building source solution, i'd hear pitfalls or possible problems.
as mentioned in comments, theoretically possible package families (emacs, postgresql, ...) allow multiple concurrent versions.
i cannot offer right use /usr/{share,lib}/r conflicts. if make /usr/{share,lib}/r-$version , use dpkg-alternatives flip default preferred one, possibly it. problem transition. feature used minority of user, getting may introduce bugs majority til stable. plus, not have spare time (but if else wants it, please so).
in meantime, can
possibly use advanced feature of
dpkg, unpack local directory rather default below/--/opt/r/oldversions/2.12.1should possible. r run, need redefine$rhomeaccordingly.just build local variants
/usr/localif really mustif particular cran / non-cran package claims need particular version of r, fix damn package already! ;-)
finally, topic r-sig-debian eg cran maintainer michael , johannes won't read thread here.
Comments
Post a Comment