Class: Renjin::DataFrame

Inherits:
List show all
Defined in:
lib/JRubyR/dataframe.rb

Instance Attribute Summary

Attributes included from RBSexp

#attr, #rvar, #scope, #sexp

Instance Method Summary collapse

Methods inherited from List

#initialize

Methods included from Index

#[], #[]=, #_, #each, #method_missing, #parse

Methods inherited from RubySexp

build, #fassign, #initialize, #to_string

Methods included from RBSexp

#destroy, #pp, #print, #r, #rclass, #sexp?, #typeof, #unbind

Constructor Details

This class inherits a constructor from Renjin::List

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Renjin::Index

Instance Method Details

#colnames(names) ⇒ Object



28
29
30
# File 'lib/JRubyR/dataframe.rb', line 28

def colnames(names)
  R.eval("colnames(#{r}) = c(#{names})") 
end