Skip to content
Prev 46089 / 63424 Next

str and s3 classes

That would be useful!
Be that as it may, it would still be nice for str to work with S3
objects with potentially incorrect length and names methods - str is
particularly useful when debugging.  Part of the problem is I don't
how to force internally dispatched generics to use the default case -
if the generic uses regular dispatch you can always use
generic.default() (or similar), but I don't think it's possible to do
the same for an internal generic (without copying the object, which is
obviously undesirable)?

Hadley

--
Chief Scientist, RStudio
http://had.co.nz/