Class: RObject::Convert
- Inherits:
-
Object
- Object
- RObject::Convert
- Defined in:
- lib/robject/convert.rb
Defined Under Namespace
Classes: NotSupportTypeError
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.call_R_without_convert(func, *args) ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'lib/robject/convert.rb', line 5 def self.call_R_without_convert func, *args original_mode = RSRuby.get_default_mode RSRuby.set_default_mode RSRuby::BASIC_CONVERSION result = R.rsruby[func].call(*args) ensure RSRuby.set_default_mode original_mode result end |