Re: [R] slow loading with lme4

From: Doran, Harold <HDoran_at_air.org>
Date: Mon 13 Jun 2005 - 20:05:44 EST


I should have also noted there is a huge efficiency gain when using lme4 over nlme in that the Matrix package introduces faster matrix operations using sparse matrix algorithms.  

So, while it may take a moment or two longer to load this package, it saves you *significant* time when fitting mixed linear models. So, you might view this as a cost/benefit trade-off, not a problem.  

-Harold

	-----Original Message----- 
	From: r-help-bounces@stat.math.ethz.ch on behalf of Doran, Harold 
	Sent: Mon 6/13/2005 5:57 AM 
	To: 0034058@fudan.edu.cn; r-help@stat.math.ethz.ch 
	Cc: 
	Subject: Re: [R] slow loading with lme4
	
	

	It is actually the Matrix package that is taking so long, not lme4. It is is extremely large and is required for use with lme4. I think Doug Bates or Duncan Murdoch can confirm Matrix() contains more than 6000 or so lines of code. But, it is not a problem, it just is what it is.
	
	        -----Original Message-----
	        From: r-help-bounces@stat.math.ethz.ch on behalf of ronggui
	        Sent: Mon 6/13/2005 12:36 AM
	        To: r-help@stat.math.ethz.ch
	        Cc:
	        Subject: [R] slow loading with lme4
	       
	       
	
	        it takes a long time to load the lme4 package.anyone else encounter this problem?
	       

> system.time(library(lme4))
载入需要的程辑包:Matrix 载入需要的程辑包:lattice [1] 19.90 0.30 25.56 NA NA
> version
_ platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status Patched major 2 minor 1.0 year 2005 month 05 day 29 language R OS:windows 2000 2005-06-13 ------ Deparment of Sociology Fudan University Blog:www.sociology.yculblog.com [[alternative HTML version deleted]] [[alternative HTML version deleted]]

______________________________________________

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Mon Jun 13 20:27:14 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:32:33 EST