Class: Renjin::List

Inherits:
RubySexp show all
Includes:
Index
Defined in:
lib/JRubyR/list.rb

Direct Known Subclasses

DataFrame

Instance Attribute Summary

Attributes included from RBSexp

#attr, #rvar, #scope, #sexp

Instance Method Summary (collapse)

Methods included from Index

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

Methods inherited from RubySexp

build, #fassign, #to_string

Methods included from RBSexp

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

Constructor Details

- (List) initialize(sexp)





33
34
35
36
# File 'lib/JRubyR/list.rb', line 33

def initialize(sexp)
  super(sexp)
  @iterator = @sexp.iterator()
end

Dynamic Method Handling

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

Instance Method Details

- (Object) names





42
43
44
# File 'lib/JRubyR/list.rb', line 42

def names
  R.names(self)
end

- (Object) unlist





50
51
52
# File 'lib/JRubyR/list.rb', line 50

def unlist
  R.unlist(self)
end