Re: [Rd] R 2.6.0 S4 data breakage, R _data_class(), class<-, etc.

2007-10-07 Thread Martin Morgan
John Chambers <[EMAIL PROTECTED]> writes: > Most of your problems seem related to assigning an S4 class to an > arbitrary object--a really bad idea, since it can produce invalid objects. > > Objects from S4 classes are created by calling the function new(), and > in principal _only_ by calling t

Re: [Rd] R 2.6.0 S4 data breakage, R _data_class(), class<-, etc.

2007-10-07 Thread John Chambers
Most of your problems seem related to assigning an S4 class to an arbitrary object--a really bad idea, since it can produce invalid objects. Objects from S4 classes are created by calling the function new(), and in principal _only_ by calling that function. Objects from one class are coerced t