pigpigmeow | 30 Jun 2012 06:59
Picon
Favicon

About Error message

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.

Bert Gunter | 30 Jun 2012 12:15

Re: About Error message

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 <at> 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.
>
>
>
(Continue reading)

Petr PIKAL | 2 Jul 2012 10:18
Picon
Favicon

Re: About Error message

> 
> 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?!

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.
> 
(Continue reading)


Gmane