Class: Rust::Environment
Overview
Mirror of the environment type in R. Currently not supported.
Class Method Summary
collapse
#load_in_r_as, pull_priority, #r_hash, #r_mirror, #r_mirror_to
Class Method Details
.can_pull?(type, klass) ⇒ Boolean
94
95
96
|
# File 'lib/rust/core/types/language.rb', line 94
def self.can_pull?(type, klass)
return type == "environment" && klass == "environment"
end
|
.load_in_r_as(variable) ⇒ Object
103
104
105
106
|
# File 'lib/rust/core/types/language.rb', line 103
def self.load_in_r_as(variable)
warn "Exchanging R environments is not supported!"
Rust._eval("#{variable} <- environment()")
end
|
.pull_variable(variable, type, klass) ⇒ Object
98
99
100
101
|
# File 'lib/rust/core/types/language.rb', line 98
def self.pull_variable(variable, type, klass)
warn "Exchanging R environments is not supported!"
return Environment.new
end
|