Skip to content
Prev 8490 / 20628 Next

sas to R

I restarted R and tried to fit the model.  However, I got the same
message...  So, I checked the session information with sessionInfo().
I found there is still nlme package in "loaded via a namespace (and
not attached)".  Is it still causing problem?

Here is what I did:

R version 2.15.0 (2012-03-30)
Copyright (C) 2012 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: i386-pc-mingw32/i386 (32-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

[Previously saved workspace restored]
Loading required package: Matrix
Loading required package: lattice

Attaching package: ?lme4?

The following object(s) are masked from ?package:stats?:

    AIC, BIC
Error: length(f1) == length(f2) is not TRUE
In addition: Warning messages:
1: In block:trial :
  numerical expression has 92 elements: only the first used
2: In block:trial :
  numerical expression has 92 elements: only the first used
3: In trt:(block:trial) :
  numerical expression has 92 elements: only the first used
4: In block:trial :
  numerical expression has 92 elements: only the first used
5: In block:trial :
  numerical expression has 92 elements: only the first used
R version 2.15.0 (2012-03-30)
Platform: i386-pc-mingw32/i386 (32-bit)

locale:
[1] LC_COLLATE=English_United States.1252
[2] LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C
[5] LC_TIME=English_United States.1252

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] lme4_0.999375-42 Matrix_1.0-6     lattice_0.20-6

loaded via a namespace (and not attached):
[1] grid_2.15.0   nlme_3.1-103  stats4_2.15.0




Thanks!!!

Steve
On Mon, Jun 25, 2012 at 1:01 PM, Douglas Bates <bates at stat.wisc.edu> wrote: