Displaying 1 result from an estimated 1 matches for "rclasssymbol".
Did you mean:
r_classsymbol
2007 Oct 07
1
R 2.6.0 S4 data breakage, R _data_class(), class<-, etc.
...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 methods package certainly
uses it; isn't it time to make it p...