On 30 January 2011 at 19:03, Kingsley G. Morse Jr. wrote:
| Hi Dirk,
|
| Thanks for explaining that you keep packages
| installed by R and package managers in separate
| directories.
|
| Do you happen to have any advice on how to avoid
| installing conflicting versions of the same
| package?
It's less bad than one may think at first -- 'first one found' usually
wins. So you
foo_1.2-4 in /usr/local/lib/R/site-library
wins over
foo_1.2-3 in /usr/lib/R/site-library
by virtue of being first in the $PATH (cf .libPaths() in R).
Hth, Dirk
|
| Thanks,
| Kingsley
|
| On 01/30/11 20:40, Dirk Eddelbuettel wrote:
| >
| > For what it's worth, I use the scriipt below (via ~/bin/update.r) which is
| > also an example script in the littler package.
| >
| > It _explicitly_ restricts the update to
| >
| > /usr/local/lib/R/site-library
| >
| > so that the update from R is kept separate from the update via the Debian or
| > Ubuntu package manager.
| >
| > Hope this helps, Dirk
--
Dirk Eddelbuettel | [email protected] | http://dirk.eddelbuettel.com
_______________________________________________
R-SIG-Debian mailing list
[email protected]
https://stat.ethz.ch/mailman/listinfo/r-sig-debian