Class: R::RExpression

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

Overview



Constant Summary

Constants inherited from Object

Object::EXPLICIT_RUBY_SURFACE

Instance Attribute Summary

Attributes inherited from Object

#expression, #r_interop

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Object

#==, build_class_probe_count, build_from_r_class_string, build_from_wrapper_tag, #call, class_probe_fetch_r_class, increment_build_class_probe_count!, #initialize, #inspect, #instance_of?, #instance_variable_get, #instance_variable_set, #is_a?, #method_missing, #nil?, #pretty_print, #rclass, reset_build_counters!, #respond_to?, #send, #to_ary, #to_i, #to_ruby, #to_s, #typeof, #unboxed_get

Methods included from ExecUniOp

#exec_uni_oper

Methods included from UnaryOperators

#!, #+@, #-@

Methods included from ExecBinOp

#coerce, #exec_bin_oper

Methods included from BinaryOperators

#!=, #%, #*, #**, #+, #-, #/, #<, #<=, #>, #>=, #_, #eq, #int_div, #til

Methods included from IndexedObject

#[], #[]=, #size

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

Class Method Details

.build(expression) ⇒ Object


Builds



40
41
42
# File 'lib/R_interface/rexpression.rb', line 40

def self.build(expression)
  R.parse(text: expression.to_s)
end

Instance Method Details

#classObject



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

def class
  ::R::RExpression
end