Class: R::Closure

Inherits:
Object show all
Defined in:
lib/R_interface/rclosure.rb

Instance Attribute Summary

Attributes inherited from Object

#r_interop, #statement

Instance Method Summary collapse

Methods inherited from Object

#==, #_, #attr=, build, #comment, #comment=, #dim, #dim=, #dimnames, #dimnames=, #eql, #initialize, #method_missing, #names, #names=, #pp, #pretty_print, #rclass, #rclass=, #row__names, #row__names=, #setR, #setR_name, #to_s, #tsp, #tsp=

Constructor Details

This class inherits a constructor from R::Object

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class R::Object

Instance Method Details

#call(*args) ⇒ Object





32
33
34
# File 'lib/R_interface/rclosure.rb', line 32

def call(*args)
  R::Support.exec_function(@r_interop, *args)
end