Re: [Rd] RFC: R_data_class as part of the C-API

2013-04-28 Thread Thomas Friedrichsmeier
Hi, On Friday 26 April 2013 21:07:00 Laurent Gautier wrote: [...] SEXP R_data_class(SEXP obj, Rboolean singleString) ``` I am obviously writing this because I'd wish to see it in the API, [...] I'd like to second this request, as we'd have use for this in RKWard, too. Regards Thomas

[Rd] RFC: R_data_class as part of the C-API

2013-04-26 Thread Laurent Gautier
Hi, In src/attrib.c, the comment for the function R_data_class is: ``` /* the S4-style class: for dispatch required to be a single string; for the new class() function; if(!singleString) , keeps S3-style multiple classes. Called from the methods package, so exposed. */ SEXP