Hi again! I have a question about R. I have done gam in previous version of R with "mgcv" package and saved the workspace. This workspace contains different models and I will do prediction by these GAMs. However, I install new version of R. and use the same workspace. when I type summary(models), and the error message showed Error in Predict.matrix.cr.smooth(object, dk$data) : F is missing from cr smooth - refit model with current mgcv. this workspace is normal when I used previous version of R. What's wrong?! Thank in advance. -- View this message in context: http://r.789695.n4.nabble.com/About-Error-message-tp4634955.html Sent from the R help mailing list archive at Nabble.com.
Ummm.... Read the error message and do what it says? " F is missing from cr smooth - refit model with current mgcv. " The older models appear to be incompatible with the newer version of mgcv/R summary() methods. Read the new ?summary help. There may be a parameter you can give it to make it work. -- Bert On Fri, Jun 29, 2012 at 9:59 PM, pigpigmeow <glorykwok@hotmail.com> wrote:> Hi again! > I have a question about R. > I have done gam in previous version of R with "mgcv" package and saved the > workspace. This workspace contains different models and I will do > prediction > by these GAMs. > > However, I install new version of R. and use the same workspace. when I > type > summary(models), and the error message showed > Error in Predict.matrix.cr.smooth(object, dk$data) : F is missing from cr > smooth - refit model with current mgcv. > > this workspace is normal when I used previous version of R. What's wrong?! > Thank in advance. > > > > -- > View this message in context: > http://r.789695.n4.nabble.com/About-Error-message-tp4634955.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >-- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm [[alternative HTML version deleted]]
> > Hi again! > I have a question about R. > I have done gam in previous version of R with "mgcv" package and savedthe> workspace. This workspace contains different models and I will doprediction> by these GAMs. > > However, I install new version of R. and use the same workspace. when Itype> summary(models), and the error message showed > Error in Predict.matrix.cr.smooth(object, dk$data) : F is missing fromcr> smooth - refit model with current mgcv. > > this workspace is normal when I used previous version of R. What'swrong?! Hi Maybe in new installation some packages are missing (not installed). Try to install all packages you used during your previous work and then try to start R again. Regards Petr> Thank in advance. > > > > -- > View this message in context: http://r.789695.n4.nabble.com/About-Error- > message-tp4634955.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guidehttp://www.R-project.org/posting-guide.html> and provide commented, minimal, self-contained, reproducible code.