Re: [Rd] common base functions stripping S3 class

2014-11-17 Thread Hadley Wickham
> Generally the idea is that the class should be stripped because R has no > way of knowing if the new object, for example unique(obj), still has the > necessary properties to be considered to be of the same class as obj. > Only the author of the class knows that. S4 would help a bit here, but > o

Re: [Rd] common base functions stripping S3 class

2014-11-17 Thread Duncan Murdoch
On 17/11/2014 10:41 AM, Hadley Wickham wrote: > Generally the idea is that the class should be stripped because R has no > way of knowing if the new object, for example unique(obj), still has the > necessary properties to be considered to be of the same class as obj. > Only the author of the clas