RubyObject-class: Class "RubyRef" and sub-classes for references to Ruby...

Description Objects from the Class Slots Extends Methods Author(s) References See Also Examples

Description

These classes and associated methods allow us to work with Ruby objects by reference within R code and to treat them much like R objects such as lists and named lists and invoke functions.

Objects from the Class

Objects of these classes are typically created implicitly via C code that marshals objects across the R/Ruby interface.

Slots

ref:

Object of class "externalptr" ~~

Extends

Class "RubyRef", directly.

Methods

coerce

signature(from = "RubyObject", to = "RubyClass"): ...

methodNames

signature(x = "RubyObject"): ...

names

signature(x = "RubyObject"): ...

Author(s)

Duncan Temple Lang

References

Ruby C-level API

See Also

.RubyNew .Ruby The convert argument for most .Ruby* functions.

Examples

1
showClass("RubyObject")

omegahat/RRuby documentation built on May 24, 2019, 1:55 p.m.