valueOf | R Documentation |
This function (AFAIR) is for dereferencing or retrieving
the contents of an external pointer.
This is a generic equivalent of
as(ref, "RefererenceType")
where
the caller has to know the name of ReferenceType
.
This is also equivalent in C to *ref
.
valueOf(obj)
obj |
the reference object |
When (programmatically) generating an interface to native data structures, a method should be provided for this generic fnction.
An R object representing the contents of the reference object.
Duncan Temple Lang
RGCCTranslationUnit package
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.