[R-SIG-Mac] How to move existing packages?
G. Sawitzki
gs at statlab.uni-heidelberg.de
Tue Jul 1 22:50:46 CEST 2014
This is a late follow up to
<https://stat.ethz.ch/pipermail/r-sig-mac/2013-April/010045.html>
Is there a useful implementation to move existing packages?
This comes up if there is a new R release and you want your old
collection updated, but work on a system that does versioning (e.g. OS X).
The message referred above suggests to use the GUI Package Installer,
but at least on OS X this functionality does not exist.
On a command level, this might be implemeted as a variant of
update.packages() with an additional parameter old.lib.loc (or a changed
semantics for oldPkgs: get a list of packages from old.lib.loc, and
update these to lib.loc.
The design problem is that R does not keep a memory of where a package
has been installed. So an iteration over a list of repositories might be
needed.
g.
--
G. Sawitzki
StatLab Heidelberg
Im Neuenheimer Feld 294
D 69120 Heidelberg
Tel. (+49) 62 21 - 54 89 79 Fax (+49) 62 21 - 54 53 31
<http://www.statlab.uni-heidelberg.de/users/gs/>
GPG Fingerprint: FEA4 3F2A 88B2 2629 6CE2 0429 CC3C E49E D159 99AE
More information about the R-SIG-Mac
mailing list