Re: [Rd] object.size() bug?

From: Martin Maechler <maechler_at_stat.math.ethz.ch>
Date: Fri 05 Aug 2005 - 12:21:17 GMT

>>>>> "Paul" == Paul Roebuck <roebuck@odin.mdacc.tmc.edu> >>>>> on Thu, 4 Aug 2005 00:29:03 -0500 (CDT) writes:

    Paul> Can someone confirm the following as a problem:

Yes, I can. No promiss for a fix in the very near future though.

Martin Maechler, ETH Zurich

>> 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



R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Fri Aug 05 22:32:04 2005

This archive was generated by hypermail 2.1.8 : Mon 20 Feb 2006 - 03:21:16 GMT