Re: [Rd] Lost in S4 and S3 classes

2012-12-13 Thread Davide Rambaldi
Hi, for the r-devel archives, I report here the answer of Martin Morgan on stackoverflow (http://goo.gl/CF5I9): Actually, the no-argument constructor returns an invalid object, too, it's just not tested > validObject(new("TestClass")) Error in validObject(new("TestClass")) : invalid class

[Rd] Lost in S4 and S3 classes

2012-12-13 Thread Davide Rambaldi
Hi all, this is my first post in R devel… sorry if I lost some of the guidelines. Anyway this is my problem: Version: R version 2.15.2 (2012-10-26) Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit) I want to make an S4 class that use the output object of the function of nls.lm as a slot: s