org.rosuda.REngine
Class REXPExpressionVector

java.lang.Object
  extended by org.rosuda.REngine.REXP
      extended by org.rosuda.REngine.REXPVector
          extended by org.rosuda.REngine.REXPGenericVector
              extended by org.rosuda.REngine.REXPExpressionVector

public class REXPExpressionVector
extends REXPGenericVector

REXPExpressionVector represents a vector of expressions in R. It is essentially a special kind of generic vector - its elements are expected to be valid R expressions.


Field Summary
 
Fields inherited from class org.rosuda.REngine.REXP
attr, maxDebugItems
 
Constructor Summary
REXPExpressionVector(RList list)
          create a new vector of expressions from a list of expressions.
REXPExpressionVector(RList list, REXPList attr)
          create a new vector of expressions from a list of expressions.
 
Method Summary
 boolean isExpression()
          check whether the REXP object is an expression vector
 
Methods inherited from class org.rosuda.REngine.REXPGenericVector
asList, asNativeJavaObject, isList, isRecursive, length, toDebugString, toString
 
Methods inherited from class org.rosuda.REngine.REXPVector
isNA, isVector
 
Methods inherited from class org.rosuda.REngine.REXP
_attr, asBytes, asDouble, asDoubleMatrix, asDoubles, asFactor, asInteger, asIntegers, asString, asStrings, createDataFrame, createDoubleMatrix, dim, getAttribute, hasAttribute, inherits, isComplex, isEnvironment, isFactor, isInteger, isLanguage, isLogical, isNull, isNumeric, isPairList, isRaw, isReference, isString, isSymbol
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

REXPExpressionVector

public REXPExpressionVector(RList list)
create a new vector of expressions from a list of expressions.

Parameters:
list - list of expressions to store in this vector

REXPExpressionVector

public REXPExpressionVector(RList list,
                            REXPList attr)
create a new vector of expressions from a list of expressions.

Parameters:
list - list of expressions to store in this vector
attr - attributes for the R object
Method Detail

isExpression

public boolean isExpression()
Description copied from class: REXP
check whether the REXP object is an expression vector

Overrides:
isExpression in class REXP
Returns:
true if the receiver is an expression vector, false otherwise