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

2012-10-02 Thread Dirk Eddelbuettel
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

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

2012-10-02 Thread Gabor Grothendieck
On Tue, Oct 2, 2012 at 4:18 PM, Søren Højsgaard 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

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

2012-10-02 Thread Prof Brian Ripley
east as we never had versioned namespaces). Regards Søren -Original Message- From: Greg Snow [mailto:538...@gmail.com] Sent: 2. oktober 2012 22:27 To: Søren Højsgaard Cc: r-help@r-project.org Subject: Re: [R] Having two different versions of a package in the same R installation So if

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

2012-10-02 Thread Henrik Bengtsson
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 wrote: > Dear list, > > I am making some comparisons of two versions of the lme4 package: The CRAN > version and the R-Forge vers

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

2012-10-02 Thread Søren Højsgaard
ubject: Re: [R] Having two different versions of a package in the same R installation So if you have both loaded in the same instance of R, how will R know which version of lmer or other functions that you want to run? It seems cleanest to me to have the 2 different instances of R running like y

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

2012-10-02 Thread Greg Snow
So if you have both loaded in the same instance of R, how will R know which version of lmer or other functions that you want to run? It seems cleanest to me to have the 2 different instances of R running like you do now. The other option would be to change all the names (exported ones anyways) in

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

2012-10-02 Thread Søren Højsgaard
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 in