Module: E

Defined in:
lib/R_interface/ruby_extensions.rb

Overview

Class Method Summary collapse

Class Method Details

.method_missing(symbol, *args) ⇒ Object



Parameters:

  • symbol (Symbol)
  • args (Array)

    arguments to the missing method



64
65
66
67
68
# File 'lib/R_interface/ruby_extensions.rb', line 64

def self.method_missing(symbol, *args)
  name = R::Support.convert_symbol2r(symbol)
  rargs = R.exprs(name.to_sym, *args)    
  R.as__call(rargs)
end