[Rd] object.size() bug?

Paul Roebuck roebuck at odin.mdacc.tmc.edu
Thu Aug 4 07:29:03 CEST 2005


Can someone confirm the following as a problem:

R> setClass("Foo", representation(.handle = "externalptr"))
R> object.size(new("Foo"))
Error in object.size(new("Foo")) : object.size: unknown type 22
R> R.version.string
[1] "R version 2.1.1, 2005-06-20"

R-2.1.1/src/include/Rinternals.h
#define EXTPTRSXP   22    /* external pointer */

R-2.1.1/src/main/size.c:
objectsize(SEXP s) has no case for external pointers

----------------------------------------------------------
SIGSIG -- signature too long (core dumped)



More information about the R-devel mailing list