[R] reinstall all packages - easy way?

Rainer M Krug Rainer at krugs.de
Thu Jan 9 10:10:43 CET 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

is there an easy way of re-installing all packages in my user library?
I am not referring to checkBuilt=TRUE, but re-install all packages,
irrespective of the version.

Reasoning: I installed Simons patched R for Mac to use the new C
compiler, and I would like to re-install all packages to make sure
that they are not compiled with the old compiler, as this can cause
problems.

I manually removed all Rcpp* packages and re-installed them, but this
is not a real solution.

I also have seen e.g.

http://www.r-bloggers.com/automated-re-install-of-packages-for-r-3-0/

But I am wondering if there is an easier approach?

Thanks,

Rainer

- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax :       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      Rainer at krugs.de

Skype:      RMkrug
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJSzmeTAAoJENvXNx4PUvmCv3oIANGufnd7kNW1/AEi5WisbmVl
LEjmjUKSO8j/kTRRkHLz0Nkatev8gIbhWUA5ouEAXfVMVSa9B0Ap+ZOyHDHvo+El
y5QBmguJdH+WOWdNtHhJ/aQgMQzeSVMUcaO9848vdDvZhIpsAA8ezYCEMUfXMLBd
JXiUHuBxstANn9PwyJFOW6TMaIdhos53iGXzjSdPlyrJ8azvRJB79ncgEoxQxZTj
kMduOAZ7D2Dq3oJQQ+zqNQlw7syrHfVua8zQQqZ5a8fzrLX+cRRdEoK8PbStzhSN
0uzBnYU1l9pw+zRr0Nzf5iNjMhyLmKl1H+XpgOhRPCjErf0etk7jtyfQsX+wbZI=
=3ibl
-----END PGP SIGNATURE-----



More information about the R-help mailing list