[R] Location of Packages?

Martin Maechler maechler at stat.math.ethz.ch
Mon Sep 14 18:23:47 CEST 2009

>>>>> "iw" == ivo welch <ivo_welch at brown.edu>
>>>>>     on Mon, 14 Sep 2009 12:03:59 -0400 writes:

    iw> Sorry, one more: on OSX, I deleted my old 2.9.2 R.app, and installed the 64
    iw> bit version of 2.9.0.  I then did an "install.packages("car")" under my new
    iw> 2.9.0.  It seems to have worked, but alas, I still get an error that package
    iw> 'car' was built under R version 2.9.2 .  Where exactly does R under OSX
    iw> install its packages?  (is it a bug that another car is loaded?)

Don't know.
But in R, you can always see (and also change if you want) in
which libraries R is looking for packages,

either by

 ll <- library()
 ## or 

or -- more quickly but with less "adjoint" info --  by


    iw> PS: do I need to install the car packages under the 64-bit version, or will
    iw> it be seen by the 64 bit version if I do a 32-bit install?  Or do I need to
    iw> do a double install?  for safety, I did it under the command line version,
    iw> which I presume is still 32-bit, and the 64 bit GUI.

    iw> PPS: how do I learn which version of R is running?


    iw> regards, /iaw


    iw> -- 
    iw> Ivo Welch (ivo.welch at brown.edu, ivo.welch at gmail.com)

    iw> [[alternative HTML version deleted]]

More information about the R-help mailing list