|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface REXP
This interface is the common part of all complex R types.
| Method Summary | |
|---|---|
void |
checkX(int x)
Method that check if the index is inside the REXP bounds. |
java.lang.Object |
getAttribute(java.lang.String attribute)
Method to get the value of an attribute (there is no synchronizing with R, use the update() method to synchronize data with R before using this method if you think data may have changed. |
java.util.Map<java.lang.String,java.lang.Object> |
getAttributes()
Method to get all the attributes of the data.frame (there is no synchronizing with R, use the update() method to synchronize data with R before using this method if you think data may have changed. |
void |
getFrom(java.lang.String variable)
Method to get a data.frame from a variable in R. |
java.lang.String |
getVariable()
Method to get the variable name of the REXP |
void |
setAttribute(java.lang.String attribute,
java.lang.Object value)
Method to set the value of an attribute (there is no synchronizing with R, use the commit() method to send data to R. |
void |
setAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
Method to set all the attributes of the data.frame (there is no synchronizing with R, use the commit() method to send data to R. |
java.lang.String |
toRString()
Method to export the R object in a String for evaluation in R. |
| Method Detail |
|---|
java.lang.String toRString()
throws RException
RException
void getFrom(java.lang.String variable)
throws RException
variable - name of the data.frame in Rengine - a REngine where the R session is located.
RException
void setAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
throws RException
attributes - a Map containing the attributes (key) and values (value)
(values are a R expression, String may be rounded with escaped
quote like : \"this is a R string\" ).
RException
java.util.Map<java.lang.String,java.lang.Object> getAttributes()
throws RException
RException
java.lang.Object getAttribute(java.lang.String attribute)
throws RException
attribute - name of the attribute
RException
void setAttribute(java.lang.String attribute,
java.lang.Object value)
throws RException
attribute - name of the attributevalue - the value to be set (this is a R expression, String may be
rounded with escaped quote like : \"this is a R string\" ).
RExceptionjava.lang.String getVariable()
void checkX(int x)
x - index
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||