[R] No direct or inherited method for function "update"

Dick Beyer dbeyer at u.washington.edu
Wed May 26 01:44:56 CEST 2004


I used to be able to call update() for lme objects. Now I get this error:

>   ge.lme <- update(ge.lme, data=dat)
Error in update(ge.lme, data = dat) : No direct or inherited method for function "update" for this call


Here is the relevant portion of my code:

ge     <- eset[1,]
dat    <- data.frame(age, gen, fdr, ge)
ge.lme <- lme(fixed=ge~age+gen+age*gen, data=dat, random=~ 1| fdr)
for (i in 1:nrow(eset)) {
  dat$ge <- c(eset[i,])
  ge.lme <- update(ge.lme, data=dat)
  .
  .
  .
}

I am using:
base 1.9.0 
utils 1.9.0 
graphics 1.9.0 
stats 1.9.0 
methods 1.9.0 
Biobase 1.4.14 
affy 1.4.30 
gcrma 1.1.0 
annaffy 1.0.7 
KEGG 1.4.0 
GO 1.5.1 
mgu74av2 1.4.0 
nlme 3.1-48 
xtable 1.2-1 

Any help or suggestions would be most appreciated.

Thanks much,
Dick
*******************************************************************************
Richard P. Beyer, Ph.D.	University of Washington
Tel.:(206) 616 7378	Env. & Occ. Health Sci. , Box 354695
Fax: (206) 685 4696	4225 Roosevelt Way NE, # 100
			Seattle, WA 98105-6099
http://depts.washington.edu/ceeh/ServiceCores/FC5/FC5.html




More information about the R-help mailing list