search for: _data_class

Displaying 1 result from an estimated 1 matches for "_data_class".

Did you mean: r_data_class
2007 Oct 07
1
R 2.6.0 S4 data breakage, R _data_class(), class<-, etc.
...does not set the S4 object bit. I suppose the correct way would be to do new(...)? This needs to be written down somewhere... The asymmetry is somewhat surprising though. 3) We have some C code which branches depending on the S4 class. The R extension doc didn't explain that one needs to do R_data_class() rather than classgets() (or 'getAttrib(x, RClassSymbol)') to retrieve S4 classes; further more, R_data_class() is not part of the public API, and I only found it by looking at the C code of 'class()' (do_class()). But R_data_class() is part of exposed binary interface and the meth...