harold.petithomme
2012-Apr-06 11:05 UTC
[Rd] Compatibility problem with R-2.9.0 and R-2.14.0
Hello all, Using classical glm function with binomial family, I experienced a problem when using predict() over a glm object. I found that family objects built on R-2.14.0 contain elements like : .Call(C_logit_link,...) But on R-2.9.0, the object C_logit_link can not be found. Instead, this prior version used to call more simply : .Call("logit_link",...) which causes no problem. Is it possible to use R-2.14.0 family objects on prior R versions ? I may have missed some note in R changes but tried some research at least. Many thanks for help. Kind regards, Harold -- ********************************************************* Harold PETITHOMME Equipe Donn?es et Outils de Pr?vision (DPREVI/COMPAS/DOP) M?t?o France - Direction de la Production 42, avenue G. Coriolis. 31057 Toulouse Cedex France Tel : (33/0)5.61.07.82.85 Fax : (33/0)5.61.07.86.09 E-mail : harold.petithomme at meteo.fr
On 12-04-06 7:05 AM, harold.petithomme wrote:> Hello all, > > Using classical glm function with binomial family, I experienced a problem when using predict() over > a glm object. > I found that family objects built on R-2.14.0 contain elements like : > .Call(C_logit_link,...) > > But on R-2.9.0, the object C_logit_link can not be found. Instead, this prior version used to call > more simply : > .Call("logit_link",...) > > which causes no problem. > > Is it possible to use R-2.14.0 family objects on prior R versions ? > > I may have missed some note in R changes but tried some research at least. > Many thanks for help.As a general rule we try to make sure objects produced in older versions of R are usable in newer versions, but not vice versa. So I would expect that there are a lot of examples of 2.14.0 objects which can't be used in R 2.9.0. Duncan Murdoch