Top Level Namespace

Defined Under Namespace

Modules: Rust Classes: Array, FalseClass, Float, NilClass, Numeric, Object, Range, RinRuby, RinRubyWithoutRConstant, String, Symbol, TrueClass

Constant Summary collapse

R =

R is an instance of RinRuby. If for some reason the user does not want R to be initialized (to save system resources), then create a default value for R (e.g., R=2 ) in which case RinRuby will not overwrite the value of R.

RinRuby.new

Instance Method Summary collapse

Instance Method Details

#bind_ggplot!Object



169
170
171
# File 'lib/rust/external/ggplot2/core.rb', line 169

def bind_ggplot!
    include Rust::Plots::GGPlot
end

#bind_r!Object

Shortcut for including the RBinding module



235
236
237
# File 'lib/rust/core/rust.rb', line 235

def bind_r!
    include Rust::RBindings
end

#require_rust(name) ⇒ Object

Shortcut for requiring rust external libraries



242
243
244
# File 'lib/rust/core/rust.rb', line 242

def require_rust(name)
    require "rust/external/#{name}"
end