[R] Having two different versions of a package in the same R installation

Dirk Eddelbuettel edd at debian.org
Tue Oct 2 22:58:23 CEST 2012

On 2 October 2012 at 20:18, Søren Højsgaard wrote:
| I am making some comparisons of two versions of the lme4 package: The CRAN version and the R-Forge version. For the moment I have two different R installations, each with a different version of lme4. However it would be convenient if I could have the same version within the same R installation such that I can run a code chunk on one lme4 version and immediately after run the same code chunk on another lme4 version. Does anyone know if this is possible?

If you use different directories both versions can be installed at the same
time. The one being found first when going down .libPaths() is the default,
the other can be loaded by supplying the path to library().


Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com  

More information about the R-help mailing list