class Array

Adds a to_r method to standara Arrays, which returns a String representation of the equivalent R array object.

Public Instance Methods

to_r() click to toggle source
# File lib/rosar.rb, line 15
def to_r
  "c(#{self * ','})"
end