Re: [Rd] bug in identical()? [Was: [R-sig-ME] Failure to load lme4 on Mac]

2010-07-17 Thread Simon Urbanek
Ok, I think I found the issue. I'm not sure why this varies by platform but the mismatch is due to the @env slot. Two environments are only identical if it is *the* same environment (i.e. the same pointer). However, M1 and M2 have different environments. The content of those environments is iden

[Rd] bug in identical()? [Was: [R-sig-ME] Failure to load lme4 on Mac]

2010-07-17 Thread Simon Urbanek
Daniel, thanks for the test case. I did run it in valgrind but nothing showed up, however ... I'm starting to have a suspicion that this has something to do with identical() - look at this: > identical(M1,M2) [1] FALSE > all(serialize(M1,NULL)==serialize(M2,NULL)) [1] TRUE > identical(unseria

Re: [Rd] Precompiled vignette on CRAN

2010-07-17 Thread Felix Schönbrodt
Thanks for your help on this topic. In fact, one of the vignettes needs hours to run some simulations; hence I'm going to provide the pdf for CRAN. > > * - which reminds me -- what is the correct place to list vignette > dependencies? "Suggests:" ? I now added a %\VignetteDepends{lme4} state

Re: [Rd] garbage collection & memory leaks in 'R', it seems...

2010-07-17 Thread Peter Dalgaard
Mike Williamson wrote: > Hello developers, > > I noticed that if I am running 'R', type "rm(list=objects())" and > "gc()", 'R' will still be consuming (a lot) more memory than when I then > close 'R' and re-open it. In my ignorance, I'm presuming this is something > in 'R' where it doesn't re

Re: [Rd] re ading SPSS .sav files (PR#13509)

2010-07-17 Thread Peter Dalgaard
Leo Evangelista wrote: > Sir/Madam, > > > > Installed in my computer is the Version 2.9.1(2009-06-26) of R. I have a > SPSS.sav file produced by SPSS Version 17. > > > > > >> install.('foreign') > >> library(foreign) > > > > <- read.spss("f:/sme.sav",use.value.labels=FALSE) > > Wa

Re: [Rd] re ading SPSS .sav files (PR#13509)

2010-07-17 Thread Leo Evangelista
Sir/Madam, Installed in my computer is the Version 2.9.1(2009-06-26) of R. I have a SPSS.sav file produced by SPSS Version 17. >install.('foreign') >library(foreign) <- read.spss("f:/sme.sav",use.value.labels=FALSE) Warning message: In read.spss("f:/sme.sav", use.value.labels = F