Full_Name: Richard Beare
Version: 1.8.1
OS: Linux
Submission from: (NULL) (130.155.16.102)


I have a package using external references, these are set up as follows

structure(list(.Call("MakeNullImPtr")), class = "image")

The MakeNullImPtr sets up the garbage collection etc

print(unclass(CMAP)) of an image object produces something like this
<pointer: 0x8cf3280>

The bug appears when applying object.size to this sort of object

> object.size(CMAP)
Error in object.size(CMAP) : object.size: unknown type 22

The correct response is debatable - 0, or NA might be appropriate, or perhaps
the real size of the pointer.

I only noticed this problem due to the use of object.size by the "debug"
package.

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-devel

Reply via email to