An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-sig-debian/attachments/20081117/abaf0372/attachment.pl>
R-packages updates
2 messages · Arnaud Battistella, Dirk Eddelbuettel
On 17 November 2008 at 12:39, Arnaud Battistella wrote:
| Hi,
| I have 2 quick questions:
| 1/ I installed some packages not available in Debian (vars, VaR, quantmod)
| in /usr/local/lib/R/site-library. Now, I would like to be able to update
| them using update.packages(); however, update.packages() wants to update all
| my R packages, including those I got through te debian repos. Is there a way
| to tell update.packages() to only update the packages in
| /usr/local/lib/R/site-library ?
help("update.packages")
will tell you about loc.lib that can restrict 'where to look'.
Also, if you do 'sudo apt-get install littler' you will find a script
update.r in the examples/ directory that does just that -- updating of
packages only in /usr/local/lib/R/site-library/
| 2/ Also, if I wish to uninstall a packages installed with install.packages()
| in /usr/local/lib/R/site-library can I simply delete the relevant folder and
| R would get automatically updated?
There is 'R CMD remove' but I just rm -rf, albeit carefully :)
Cheers, Dirk
Three out of two people have difficulties with fractions.