[R] Conflict between 'nlme' and 'methods' on R-1.5.0 ?

Charis Tzagarakis htzag at umn.edu
Fri May 10 02:49:00 CEST 2002


Hi there!
I use R with the packages 'nlme' and 'methods'.Upon upgrading to R1.5.0, I got the following 
message when loading nlme (after having loaded 'methods'):
The following object(s) are masked from package:methods :

         initialize 
 After that, when I use my class definitions and scripts(which worked fine in 1.4.1) I get the 
following error message when a new("class") expression is used:
Error in initialize(value, ...) : no applicable method for "initialize"

Clearly the problem arises because 'nlme' contains an 'initialize' function, as does the new 
'methods' package.Is there any workaround?
Thanks!
Charis Tzagarakis



Charidimos Tzagarakis MD
Brain Sciences Center and University of Minnesota.
Address:
Brain Sciences Center (11B)
Minneapolis VA Medical Center
One Veterans Drive
55417 Minneapolis MN
USA
Tel:612-725-2000 ext 1756
email: htzag at umn.edu 

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list