On Mon, 13 Jun 2005, ronggui wrote:

it takes a long time to load the lme4 package.anyone else encounter this problem?

Yes: ca 10 secs on my machine.  Why do you call it a `problem', though?

system.time(library(lme4))
������Ҫ�ij̼�����Matrix
������Ҫ�ij̼�����lattice
[1] 19.90  0.30 25.56    NA    NA

Profiling this shows that almost all the time is spent on setting up S4 methods:

$by.total
                             total.time total.pct self.time self.pct
"eval"                            10.32     100.0      0.02      0.2
"library"                         10.32     100.0      0.00      0.0
"system.time"                     10.32     100.0      0.00      0.0
"<Anonymous>"                      9.92      96.1      0.00      0.0
"insertMethod"                     8.62      83.5      1.86     18.0
"getAllMethods"                    8.36      81.0      0.00      0.0
"mergeMethods"                     7.94      76.9      0.00      0.0

I am sure the packages' authors are aware of that.

--
Brian D. Ripley,                  [EMAIL PROTECTED]
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to