[R-sig-ME] SVN version of lme4 has a space-saving version of lmer2

Douglas Bates bates at stat.wisc.edu
Tue Mar 27 18:42:55 CEST 2007


On 3/27/07, Chaudhari, Monica <mchaudhari at deltadentalwa.com> wrote:
> Thank you very much, Doug. Unfortunately, I am running R on Windows
> platform. I'll check the instructions and try to perform the same. If I
> run into problems, I might get back to you for help.

I'm afraid I wouldn't be of much help.  I know almost nothing about
compiling R and R packages under Windows and plan to keep it that way.
 (I'm one of those Linux/Mac users who has "Death before Microsoft"
tatooed on his shoulder.)

> Thanks in advance,
> Monica
>
> -----Original Message-----
> From: dmbates at gmail.com [mailto:dmbates at gmail.com] On Behalf Of Douglas
> Bates
> Sent: Tuesday, March 27, 2007 5:39 AM
> To: Chaudhari, Monica
> Cc: r-sig-mixed-models-bounces at r-project.org
> Subject: Re: [R-sig-ME] SVN version of lme4 has a space-saving version
> of lmer2
>
> On 3/26/07, Chaudhari, Monica <mchaudhari at deltadentalwa.com> wrote:
> > Could you please suggest instructions on how to install this package?
>
> You need to install the development version of R-2.5.0 first.  I
> usually do this under Linux.  There are instructions in the "R
> Installation and Administration" manual on how to do this under
> Windows and on the web site for Mac OS X and R for installation there.
>
> For Linux/Unix I sent the following instructions
>
> You need an SVN client to be able to do the checkout.  The home web
> site for the project is http://subversion.tigris.org and you can get
> the sources and compile if you wish.  However, most distributions of
> Linux provide pre-compiled packages.  Under Debian and related
> distributions (Ubuntu, Kubuntu, etc.) it is called the "subversion"
> package.  I imagine it is similar for Red Hat and other RPM-based
> distributions.
>
> To check out R sources for the devel branch use
>
> svn co https://svn.r-project.org/R/trunk/ ./R-2.5.0
>
> After you have a copy of the sources you need to get copies of the
> most recent versions of the recommended packages.  Use
>
> <name_of_source_directory>/tools/rsync-recommended
>
> to get copies of those then do the configure - make - make check -
> make install sequence.
>
> You will be asked about a certificate when you first contact that
> https URL.  Accept it.  We don't have externally signed certificates
> yet.
>
> Checking out development sources for the lme4 package is very similar
>
> svn co https://svn.r-project.org/R-packages/trunk/lme4 ./lme4
>
> Once you have the sources checked out you can update to the current
> version with
>
> svn up <name_of_source_directory>
>
> Install the package with
>
> r-devel CMD INSTALL <name_of_package_source_directory>
>
> >
> > Thanks,
> > Monica
> >
> > -----Original Message-----
> > From: r-sig-mixed-models-bounces at r-project.org
> > [mailto:r-sig-mixed-models-bounces at r-project.org] On Behalf Of Douglas
> > Bates
> > Sent: Monday, March 26, 2007 6:49 AM
> > To: r-sig-mixed-models at r-project.org
> > Subject: [R-sig-ME] SVN version of lme4 has a space-saving version of
> > lmer2
> >
> > The SVN version of lme4, available at
> >
> > https://svn.r-project.org/R-packages/trunk/lme4
> >
> > has a new version of lmer2 that should require less memory on large
> > model fits.  It creates the entire lmer2 object at once rather than
> > creating the mer2 object then later creating the lmer2 object from
> > that.  This should avoid a copy operation involving potentially large
> > objects.
> >
> > If you have a very large model fit to create please try out the new
> > version.  It does require R-2.5.0 so you will need to build that
> > first.  If that is not feasible and you can allow me access to the
> > data then I would be pleased to run the tests.
> >
> > The largest test for which I have real data is a model fit to the star
> > data (about 25000 observations and approximately the same number of
> > random effects) and that ends up taking too little memory (12 MB) to
> > be a real test of the memory growth.
> >
> > The optional argument frame = FALSE (don't save the model frame) cuts
> > down on the size of the returned object, sometimes dramatically.
> >
> > _______________________________________________
> > R-sig-mixed-models at r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models
> >
> >
> > #########################################################
> > The information contained in this e-mail and subsequent attachments
> may be privileged,
> > confidential and protected from disclosure.  This transmission is
> intended for the sole
> > use of the individual and entity to whom it is addressed.  If you are
> not the intended
> > recipient, any dissemination, distribution or copying is strictly
> prohibited.  If you
> > think that you have received this message in error, please e-mail the
> sender at the above
> > e-mail address.
> > #########################################################
> >
> >
>
>
>




More information about the R-sig-mixed-models mailing list