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

Henrik Bengtsson hb at biostat.ucsf.edu
Tue Oct 2 22:49:15 CEST 2012

Install the two versions in two different *libraries* and update
.libPaths() to prioritize one over the other. /Henrik

On Tue, Oct 2, 2012 at 1:18 PM, Søren Højsgaard <sorenh at math.aau.dk> wrote:
> Dear list,
> 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?
> Best regards
> Søren
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list