A C D E F G H I J K L M N O P R S T V W X _

A

add(int, Object) - Method in class org.rosuda.REngine.RList
 
add(Object) - Method in class org.rosuda.REngine.RList
 
addAll(Collection) - Method in class org.rosuda.REngine.RList
 
addAll(int, Collection) - Method in class org.rosuda.REngine.RList
 
addElement(Object) - Method in class org.rosuda.REngine.RList
 
asBytes() - Method in class org.rosuda.REngine.REXP
returns the contents as an array of bytes (if supported by the represented object)
asBytes() - Method in class org.rosuda.REngine.REXPLogical
 
asBytes() - Method in class org.rosuda.REngine.REXPRaw
 
asDouble() - Method in class org.rosuda.REngine.REXP
convenience method corresponding to asDoubles()[0]
asDoubleMatrix() - Method in class org.rosuda.REngine.REXP
returns the content of the REXP as a matrix of doubles (2D-array: m[rows][cols]).
asDoubles() - Method in class org.rosuda.REngine.REXP
returns the contents as an array of doubles (if supported by the represented object)
asDoubles() - Method in class org.rosuda.REngine.REXPDouble
returns the values represented by this vector
asDoubles() - Method in class org.rosuda.REngine.REXPInteger
returns the contents of this vector as doubles
asDoubles() - Method in class org.rosuda.REngine.REXPReference
 
asFactor() - Method in class org.rosuda.REngine.REXP
returns the contents as a factor (if supported by the represented object)
asFactor() - Method in class org.rosuda.REngine.REXPFactor
the factor is guaranteed to have index base 1
asFactor() - Method in class org.rosuda.REngine.REXPReference
 
asInteger() - Method in class org.rosuda.REngine.REXP
convenience method corresponding to asIntegers()[0]
asIntegers() - Method in class org.rosuda.REngine.REXP
returns the contents as an array of integers (if supported by the represented object)
asIntegers() - Method in class org.rosuda.REngine.REXPDouble
converts the values of this vector into integers by cast
asIntegers() - Method in class org.rosuda.REngine.REXPInteger
 
asIntegers() - Method in class org.rosuda.REngine.REXPLogical
 
asIntegers() - Method in class org.rosuda.REngine.REXPReference
 
asIntegers() - Method in class org.rosuda.REngine.RFactor
return the contents as integer indices (with the index base of this factor)
asIntegers(int) - Method in class org.rosuda.REngine.RFactor
return the contents as integer indices with a given index base
asList() - Method in class org.rosuda.REngine.REXP
returns the contents as a (named) list (if supported by the represented object)
asList() - Method in class org.rosuda.REngine.REXPGenericVector
 
asList() - Method in class org.rosuda.REngine.REXPList
 
asList() - Method in class org.rosuda.REngine.REXPNull
 
asList() - Method in class org.rosuda.REngine.REXPReference
 
assign(String, REXP, REXP) - Method in class org.rosuda.REngine.REngine
assign into an environment
assign(String, double[]) - Method in class org.rosuda.REngine.REngine
 
assign(String, int[]) - Method in class org.rosuda.REngine.REngine
 
assign(String, String[]) - Method in class org.rosuda.REngine.REngine
 
assign(String, byte[]) - Method in class org.rosuda.REngine.REngine
 
assign(String, REXP) - Method in class org.rosuda.REngine.REXPEnvironment
 
assign(String, String) - Method in class org.rosuda.REngine.Rserve.RConnection
assign a string value to a symbol in R.
assign(String, REXP) - Method in class org.rosuda.REngine.Rserve.RConnection
assign a content of a REXP to a symbol in R.
assign(String, REXP, REXP) - Method in class org.rosuda.REngine.Rserve.RConnection
assign into an environment
asString() - Method in class org.rosuda.REngine.REXP
convenience method corresponding to asStrings()[0]
asString() - Method in class org.rosuda.REngine.REXPSymbol
 
asStrings() - Method in class org.rosuda.REngine.REXP
returns the contents as an array of Strings (if supported by the represented object)
asStrings() - Method in class org.rosuda.REngine.REXPDouble
converts the values of this vector into strings
asStrings() - Method in class org.rosuda.REngine.REXPFactor
 
asStrings() - Method in class org.rosuda.REngine.REXPInteger
returns the contents of this vector as strings
asStrings() - Method in class org.rosuda.REngine.REXPLogical
 
asStrings() - Method in class org.rosuda.REngine.REXPReference
 
asStrings() - Method in class org.rosuda.REngine.REXPString
 
asStrings() - Method in class org.rosuda.REngine.REXPSymbol
 
asStrings() - Method in class org.rosuda.REngine.RFactor
return the factor as an array of strings
at(int) - Method in class org.rosuda.REngine.RFactor
returns the level of a given case
at(String) - Method in class org.rosuda.REngine.RList
get xpression given a key
at(int) - Method in class org.rosuda.REngine.RList
get element at the specified position
AT_crypt - Static variable in class org.rosuda.REngine.Rserve.RConnection
authorization type: unix crypt
AT_plain - Static variable in class org.rosuda.REngine.Rserve.RConnection
authorization type: plain text
attach() - Method in class org.rosuda.REngine.Rserve.RSession
attach/resume this session
attr - Variable in class org.rosuda.REngine.REXP
attribute list.

C

clear() - Method in class org.rosuda.REngine.RList
 
clone() - Method in class org.rosuda.REngine.RList
 
close() - Method in class org.rosuda.REngine.Rserve.RConnection
closes current connection
close() - Method in class org.rosuda.REngine.Rserve.RFileInputStream
close stream - is not related to the actual RConnection, calling close does not close the RConnection
close() - Method in class org.rosuda.REngine.Rserve.RFileOutputStream
close stream - is not related to the actual RConnection, calling close does not close the RConnection.
CMD_assignSEXP - Static variable in class org.rosuda.REngine.Rserve.protocol.RTalk
 
CMD_attachSession - Static variable in class org.rosuda.REngine.Rserve.protocol.RTalk
 
CMD_closeFile - Static variable in class org.rosuda.REngine.Rserve.protocol.RTalk
 
CMD_createFile - Static variable in class org.rosuda.REngine.Rserve.protocol.RTalk
 
CMD_detachedVoidEval - Static variable in class org.rosuda.REngine.Rserve.protocol.RTalk
 
CMD_detachSession - Static variable in class org.rosuda.REngine.Rserve.protocol.RTalk
 
CMD_eval - Static variable in class org.rosuda.REngine.Rserve.protocol.RTalk
 
CMD_login - Static variable in class org.rosuda.REngine.Rserve.protocol.RTalk
 
CMD_openFile - Static variable in class org.rosuda.REngine.Rserve.protocol.RTalk
 
CMD_readFile - Static variable in class org.rosuda.REngine.Rserve.protocol.RTalk
 
CMD_removeFile - Static variable in class org.rosuda.REngine.Rserve.protocol.RTalk
 
CMD_setBufferSize - Static variable in class org.rosuda.REngine.Rserve.protocol.RTalk
 
CMD_setSEXP - Static variable in class org.rosuda.REngine.Rserve.protocol.RTalk
 
CMD_shutdown - Static variable in class org.rosuda.REngine.Rserve.protocol.RTalk
 
CMD_voidEval - Static variable in class org.rosuda.REngine.Rserve.protocol.RTalk
 
CMD_writeFile - Static variable in class org.rosuda.REngine.Rserve.protocol.RTalk
 
conn - Variable in exception org.rosuda.REngine.Rserve.RserveException
 
contains(int) - Method in class org.rosuda.REngine.RFactor
returns true if the data contain the given level index
contains(String) - Method in class org.rosuda.REngine.RFactor
return true if the factor contains the given level (it is NOT the same as levelIndex==-1!)
containsKey(Object) - Method in class org.rosuda.REngine.RList
 
containsValue(Object) - Method in class org.rosuda.REngine.RList
 
count(int) - Method in class org.rosuda.REngine.RFactor
count the number of occurences of a given level index
count(String) - Method in class org.rosuda.REngine.RFactor
count the number of occurences of a given level name
counts() - Method in class org.rosuda.REngine.RFactor
return an array with level counts.
createDataFrame(RList) - Static method in class org.rosuda.REngine.REXP
creates a data frame object from a list object using integer row names
createFile(String) - Method in class org.rosuda.REngine.Rserve.RConnection
create a file on the Rserve for writing
crypt(String, String) - Static method in class org.rosuda.REngine.Rserve.protocol.jcrypt
 

D

detach() - Method in class org.rosuda.REngine.Rserve.RConnection
detaches the session and closes the connection (requires Rserve 0.4+).
dim() - Method in class org.rosuda.REngine.REXP
returns dimensions of the object (as determined by the "dim" attribute)
DT_ARRAY - Static variable in class org.rosuda.REngine.Rserve.protocol.RTalk
 
DT_BYTESTREAM - Static variable in class org.rosuda.REngine.Rserve.protocol.RTalk
 
DT_CHAR - Static variable in class org.rosuda.REngine.Rserve.protocol.RTalk
 
DT_DOUBLE - Static variable in class org.rosuda.REngine.Rserve.protocol.RTalk
 
DT_INT - Static variable in class org.rosuda.REngine.Rserve.protocol.RTalk
 
DT_LARGE - Static variable in class org.rosuda.REngine.Rserve.protocol.RTalk
this is a flag saying that the contents is large (>0xfffff0) and hence uses 56-bit length field
DT_SEXP - Static variable in class org.rosuda.REngine.Rserve.protocol.RTalk
 
DT_STRING - Static variable in class org.rosuda.REngine.Rserve.protocol.RTalk
 

E

engine - Variable in exception org.rosuda.REngine.REngineException
 
engineForClass(String) - Static method in class org.rosuda.REngine.REngine
this is the designated constructor for REngine classes.
entrySet() - Method in class org.rosuda.REngine.RList
NOTE: THIS IS UNIMPLEMENTED and always returns null!
err - Variable in exception org.rosuda.REngine.Rserve.RserveException
 
ERR_access_denied - Static variable in class org.rosuda.REngine.Rserve.protocol.RTalk
 
ERR_auth_failed - Static variable in class org.rosuda.REngine.Rserve.protocol.RTalk
 
ERR_conn_broken - Static variable in class org.rosuda.REngine.Rserve.protocol.RTalk
 
ERR_data_overflow - Static variable in class org.rosuda.REngine.Rserve.protocol.RTalk
 
ERR_detach_failed - Static variable in class org.rosuda.REngine.Rserve.protocol.RTalk
 
ERR_inv_cmd - Static variable in class org.rosuda.REngine.Rserve.protocol.RTalk
 
ERR_inv_par - Static variable in class org.rosuda.REngine.Rserve.protocol.RTalk
 
ERR_IOerror - Static variable in class org.rosuda.REngine.Rserve.protocol.RTalk
 
ERR_not_open - Static variable in class org.rosuda.REngine.Rserve.protocol.RTalk
 
ERR_object_too_big - Static variable in class org.rosuda.REngine.Rserve.protocol.RTalk
 
ERR_out_of_mem - Static variable in class org.rosuda.REngine.Rserve.protocol.RTalk
 
ERR_Rerror - Static variable in class org.rosuda.REngine.Rserve.protocol.RTalk
 
ERR_session_busy - Static variable in class org.rosuda.REngine.Rserve.protocol.RTalk
 
ERR_unknown_cmd - Static variable in class org.rosuda.REngine.Rserve.protocol.RTalk
 
ERR_unsupported_cmd - Static variable in class org.rosuda.REngine.Rserve.protocol.RTalk
 
eval(REXP, REXP, boolean) - Method in class org.rosuda.REngine.REngine
evaluate an expression vector
eval(String) - Method in class org.rosuda.REngine.Rserve.RConnection
evaluates the given command and retrieves the result
eval(REXP, REXP, boolean) - Method in class org.rosuda.REngine.Rserve.RConnection
 

F

finalize() - Method in class org.rosuda.REngine.Rserve.RConnection
 
flush() - Method in class org.rosuda.REngine.Rserve.RFileOutputStream
currently (Rserve 0.3) there is no way to force flush on the remote side, hence this function is noop.

G

get(String, REXP, boolean) - Method in class org.rosuda.REngine.REngine
get a value from an environment
get(String, boolean) - Method in class org.rosuda.REngine.REXPEnvironment
 
get(String) - Method in class org.rosuda.REngine.REXPEnvironment
 
get(Object) - Method in class org.rosuda.REngine.RList
 
get(String, REXP, boolean) - Method in class org.rosuda.REngine.Rserve.RConnection
get a value from an environment
getAccess() - Method in exception org.rosuda.REngine.REXPMismatchException
get the assumed access type that was violated by the sender.
getAttr() - Method in class org.rosuda.REngine.Rserve.protocol.REXPFactory
 
getAttribute(String) - Method in class org.rosuda.REngine.REXP
retrieve an attribute of the given name from this object
getBinaryLength() - Method in class org.rosuda.REngine.Rserve.protocol.REXPFactory
Calculates the length of the binary representation of the REXP including all headers.
getBinaryRepresentation(byte[], int) - Method in class org.rosuda.REngine.Rserve.protocol.REXPFactory
Stores the REXP in its binary (ready-to-send) representation including header into a buffer and returns the index of the byte behind the REXP.
getCmd() - Method in class org.rosuda.REngine.Rserve.protocol.RPacket
get command
getCont() - Method in class org.rosuda.REngine.Rserve.protocol.RPacket
get content
getHandle() - Method in class org.rosuda.REngine.REXPReference
 
getHost() - Method in class org.rosuda.REngine.Rserve.RConnection
 
getHost() - Method in class org.rosuda.REngine.Rserve.RSession
 
getInt(byte[], int) - Static method in class org.rosuda.REngine.Rserve.protocol.RTalk
converts bit-wise stored int in Intel-endian form into Java int
getLastEngine() - Static method in class org.rosuda.REngine.REngine
retrieve the last created engine
getLastError() - Method in class org.rosuda.REngine.Rserve.RConnection
get last error string
getLen(byte[], int) - Static method in class org.rosuda.REngine.Rserve.protocol.RTalk
converts bit-wise stored length from a header.
getLong(byte[], int) - Static method in class org.rosuda.REngine.Rserve.protocol.RTalk
converts bit-wise Intel-endian format into long
getMessage() - Method in exception org.rosuda.REngine.Rserve.RserveException
 
getParentEnvironment(REXP, boolean) - Method in class org.rosuda.REngine.REngine
 
getParentEnvironment(REXP, boolean) - Method in class org.rosuda.REngine.Rserve.RConnection
 
getPort() - Method in class org.rosuda.REngine.Rserve.RConnection
 
getPort() - Method in class org.rosuda.REngine.Rserve.RSession
 
getRequestErrorDescription() - Method in exception org.rosuda.REngine.Rserve.RserveException
 
getRequestErrorDescription(int) - Method in exception org.rosuda.REngine.Rserve.RserveException
 
getRequestReturnCode() - Method in exception org.rosuda.REngine.Rserve.RserveException
 
getREXP() - Method in class org.rosuda.REngine.Rserve.protocol.REXPFactory
 
getSender() - Method in exception org.rosuda.REngine.REXPMismatchException
retrieve the exception sender/origin
getServerVersion() - Method in class org.rosuda.REngine.Rserve.RConnection
get server version as reported during the handshake.
getStat() - Method in class org.rosuda.REngine.Rserve.protocol.RPacket
get status code of last response
getStringBinaryRepresentation(byte[], int, String) - Static method in class org.rosuda.REngine.Rserve.protocol.REXPFactory
 
getType() - Method in class org.rosuda.REngine.REXPUnknown
 

H

hasAttribute(String) - Method in class org.rosuda.REngine.REXP
checks whether this obejct has a given attribute

I

indexAt(int) - Method in class org.rosuda.REngine.RFactor
return the level index for a given case
indexBase() - Method in class org.rosuda.REngine.RFactor
return the base of the levels index
inherits(String) - Method in class org.rosuda.REngine.REXP
determines whether this object inherits from a given class in tha same fashion as the inherits() function in R does (i.e. ignoring S4 inheritance)
insertElementAt(Object, int) - Method in class org.rosuda.REngine.RList
 
isComplex() - Method in class org.rosuda.REngine.REXP
 
isComplex() - Method in class org.rosuda.REngine.REXPReference
 
isConnected() - Method in class org.rosuda.REngine.Rserve.RConnection
check connection state.
isEnvironment() - Method in class org.rosuda.REngine.REXP
 
isEnvironment() - Method in class org.rosuda.REngine.REXPEnvironment
 
isEnvironment() - Method in class org.rosuda.REngine.REXPReference
 
isError() - Method in class org.rosuda.REngine.Rserve.protocol.RPacket
check last response for RESP_ERR
isExpression() - Method in class org.rosuda.REngine.REXP
 
isExpression() - Method in class org.rosuda.REngine.REXPExpressionVector
 
isFactor() - Method in class org.rosuda.REngine.REXP
 
isFactor() - Method in class org.rosuda.REngine.REXPFactor
 
isFactor() - Method in class org.rosuda.REngine.REXPReference
 
isFalse() - Method in class org.rosuda.REngine.REXPLogical
 
isInteger() - Method in class org.rosuda.REngine.REXP
 
isInteger() - Method in class org.rosuda.REngine.REXPInteger
 
isInteger() - Method in class org.rosuda.REngine.REXPReference
 
isLanguage() - Method in class org.rosuda.REngine.REXP
 
isLanguage() - Method in class org.rosuda.REngine.REXPLanguage
 
isLanguage() - Method in class org.rosuda.REngine.REXPReference
 
isList() - Method in class org.rosuda.REngine.REXP
 
isList() - Method in class org.rosuda.REngine.REXPGenericVector
 
isList() - Method in class org.rosuda.REngine.REXPList
 
isList() - Method in class org.rosuda.REngine.REXPNull
 
isList() - Method in class org.rosuda.REngine.REXPReference
 
isLogical() - Method in class org.rosuda.REngine.REXP
 
isLogical() - Method in class org.rosuda.REngine.REXPLogical
 
isLogical() - Method in class org.rosuda.REngine.REXPReference
 
isNA(double) - Static method in class org.rosuda.REngine.REXPDouble
checks whether a given double value is a NA representation in R.
isNA() - Method in class org.rosuda.REngine.REXPDouble
returns a boolean vector of the same length as this vector with true for NA values and false for any other values (including NaNs)
isNA(int) - Static method in class org.rosuda.REngine.REXPInteger
 
isNA() - Method in class org.rosuda.REngine.REXPInteger
 
isNA() - Method in class org.rosuda.REngine.REXPLogical
 
isNA() - Method in class org.rosuda.REngine.REXPString
 
isNA() - Method in class org.rosuda.REngine.REXPVector
returns a boolean vector of the same length as this vector with true for NA values and false for any other values
isNamed() - Method in class org.rosuda.REngine.RList
checks whether this list is named or unnamed
isNull() - Method in class org.rosuda.REngine.REXP
 
isNull() - Method in class org.rosuda.REngine.REXPNull
 
isNull() - Method in class org.rosuda.REngine.REXPReference
 
isNumeric() - Method in class org.rosuda.REngine.REXP
 
isNumeric() - Method in class org.rosuda.REngine.REXPDouble
return true
isNumeric() - Method in class org.rosuda.REngine.REXPInteger
 
isNumeric() - Method in class org.rosuda.REngine.REXPReference
 
isOk() - Method in class org.rosuda.REngine.Rserve.protocol.RPacket
check last response for RESP_OK
isRaw() - Method in class org.rosuda.REngine.REXP
 
isRaw() - Method in class org.rosuda.REngine.REXPRaw
 
isRaw() - Method in class org.rosuda.REngine.REXPReference
 
isRecursive() - Method in class org.rosuda.REngine.REXP
 
isRecursive() - Method in class org.rosuda.REngine.REXPGenericVector
 
isRecursive() - Method in class org.rosuda.REngine.REXPList
 
isRecursive() - Method in class org.rosuda.REngine.REXPReference
 
isString() - Method in class org.rosuda.REngine.REXP
 
isString() - Method in class org.rosuda.REngine.REXPReference
 
isString() - Method in class org.rosuda.REngine.REXPString
 
isSymbol() - Method in class org.rosuda.REngine.REXP
 
isSymbol() - Method in class org.rosuda.REngine.REXPReference
 
isSymbol() - Method in class org.rosuda.REngine.REXPSymbol
 
isTrue() - Method in class org.rosuda.REngine.REXPLogical
 
isVector() - Method in class org.rosuda.REngine.REXP
 
isVector() - Method in class org.rosuda.REngine.REXPReference
 
isVector() - Method in class org.rosuda.REngine.REXPVector
 

J

jcrypt - Class in org.rosuda.REngine.Rserve.protocol
jcrypt.java Java-based implementation of the unix crypt command Based upon C source code written by Eric Young, eay@psych.uq.oz.au
jcrypt() - Constructor for class org.rosuda.REngine.Rserve.protocol.jcrypt
 

K

keyAt(int) - Method in class org.rosuda.REngine.RList
return the key (name) at a given index
keys() - Method in class org.rosuda.REngine.RList
returns all keys of the list
keySet() - Method in class org.rosuda.REngine.RList
Note: sinde RList is not really a Map, the returned set is only an approximation as it cannot reference duplicate or null names that may exist in the list

L

lastEngine - Static variable in class org.rosuda.REngine.REngine
last created engine or null if there is none
length() - Method in class org.rosuda.REngine.REXP
returns the length of a vector object.
length() - Method in class org.rosuda.REngine.REXPDouble
 
length() - Method in class org.rosuda.REngine.REXPGenericVector
 
length() - Method in class org.rosuda.REngine.REXPInteger
 
length() - Method in class org.rosuda.REngine.REXPList
 
length() - Method in class org.rosuda.REngine.REXPLogical
 
length() - Method in class org.rosuda.REngine.REXPRaw
 
length() - Method in class org.rosuda.REngine.REXPReference
 
length() - Method in class org.rosuda.REngine.REXPString
 
length() - Method in class org.rosuda.REngine.REXPVector
returns the length of the vector (i.e. the number of elements)
levelAtIndex(int) - Method in class org.rosuda.REngine.RFactor
return the level name for a given level index
levelIndex(String) - Method in class org.rosuda.REngine.RFactor
return the index of a given level name or -1 if it doesn't exist
levels() - Method in class org.rosuda.REngine.RFactor
return the list of levels (0-based, use RFactor.indexBase() correction if you want to access it by level index)
login(String, String) - Method in class org.rosuda.REngine.Rserve.RConnection
login using supplied user/pwd.

M

maxDebugItems - Static variable in class org.rosuda.REngine.REXP
specifies how many items of a vector or list will be displayed in REXP.toDebugString()
MutableREXP - Interface in org.rosuda.REngine
 

N

NA - Static variable in class org.rosuda.REngine.REXPDouble
NA real value as defined in R.
NA - Static variable in class org.rosuda.REngine.REXPInteger
NA integer value as defined in R.
NA - Variable in class org.rosuda.REngine.REXPLogical
 
names - Variable in class org.rosuda.REngine.RList
 
needLogin() - Method in class org.rosuda.REngine.Rserve.RConnection
check authentication requirement sent by server
newEnvironment(REXP, boolean) - Method in class org.rosuda.REngine.REngine
 
newEnvironment(REXP, boolean) - Method in class org.rosuda.REngine.Rserve.RConnection
 
newHdr(int, int) - Static method in class org.rosuda.REngine.Rserve.protocol.RTalk
creates a new header according to the type and length of the parameter

O

openFile(String) - Method in class org.rosuda.REngine.Rserve.RConnection
open a file on the Rserve for reading
org.rosuda.REngine - package org.rosuda.REngine
 
org.rosuda.REngine.Rserve - package org.rosuda.REngine.Rserve
 
org.rosuda.REngine.Rserve.protocol - package org.rosuda.REngine.Rserve.protocol
 

P

parent(boolean) - Method in class org.rosuda.REngine.REXPEnvironment
 
parent() - Method in class org.rosuda.REngine.REXPEnvironment
 
parse(String, boolean) - Method in class org.rosuda.REngine.REngine
parse a string into an expression vector
parse(String, boolean) - Method in class org.rosuda.REngine.Rserve.RConnection
 
parseAndEval(String, REXP, boolean) - Method in class org.rosuda.REngine.REngine
 
parseAndEval(String) - Method in class org.rosuda.REngine.REngine
 
parseAndEval(String, REXP, boolean) - Method in class org.rosuda.REngine.Rserve.RConnection
 
parseREXP(byte[], int) - Method in class org.rosuda.REngine.Rserve.protocol.REXPFactory
parses byte buffer for binary representation of xpressions - read one xpression slot (descends recursively for aggregated xpressions such as lists, vectors etc.)
payload - Variable in class org.rosuda.REngine.REXPInteger
 
put(Object, Object) - Method in class org.rosuda.REngine.RList
 
putAll(Map) - Method in class org.rosuda.REngine.RList
 

R

RConnection - Class in org.rosuda.REngine.Rserve
class providing TCP/IP connection to an Rserve
RConnection() - Constructor for class org.rosuda.REngine.Rserve.RConnection
make a new local connection on default port (6311)
RConnection(String) - Constructor for class org.rosuda.REngine.Rserve.RConnection
make a new connection to specified host on default port (6311)
RConnection(String, int) - Constructor for class org.rosuda.REngine.Rserve.RConnection
make a new connection to specified host and given port.
read() - Method in class org.rosuda.REngine.Rserve.RFileInputStream
reads one byte from the file.
read(byte[], int, int) - Method in class org.rosuda.REngine.Rserve.RFileInputStream
Reads specified number of bytes (or less) from the remote file.
remove(int) - Method in class org.rosuda.REngine.RList
 
remove(Object) - Method in class org.rosuda.REngine.RList
 
removeAll(Collection) - Method in class org.rosuda.REngine.RList
 
removeAllElements() - Method in class org.rosuda.REngine.RList
 
removeByKey(Object) - Method in class org.rosuda.REngine.RList
 
removeElement(Object) - Method in class org.rosuda.REngine.RList
 
removeElementAt(int) - Method in class org.rosuda.REngine.RList
 
removeFile(String) - Method in class org.rosuda.REngine.Rserve.RConnection
remove a file on the Rserve
REngine - Class in org.rosuda.REngine
 
REngine() - Constructor for class org.rosuda.REngine.REngine
 
REngineException - Exception in org.rosuda.REngine
 
REngineException(REngine, String) - Constructor for exception org.rosuda.REngine.REngineException
 
reqReturnCode - Variable in exception org.rosuda.REngine.Rserve.RserveException
 
request(int) - Method in class org.rosuda.REngine.Rserve.protocol.RTalk
sends a request with no attached parameters
request(int, byte[]) - Method in class org.rosuda.REngine.Rserve.protocol.RTalk
sends a request with attached parameters
request(int, byte[], byte[], int, int) - Method in class org.rosuda.REngine.Rserve.protocol.RTalk
sends a request with attached prefix and parameters.
request(int, String) - Method in class org.rosuda.REngine.Rserve.protocol.RTalk
sends a request with one string parameter attached
request(int, int) - Method in class org.rosuda.REngine.Rserve.protocol.RTalk
sends a request with one string parameter attached
resolve() - Method in class org.rosuda.REngine.REXPReference
resolve the external REXP reference into an actual REXP object.
resolveReference(REXP) - Method in class org.rosuda.REngine.REngine
fetch the contents of the given reference.
resolveReference(REXP) - Method in class org.rosuda.REngine.Rserve.RConnection
fetch the contents of the given reference.
retainAll(Collection) - Method in class org.rosuda.REngine.RList
 
REXP - Class in org.rosuda.REngine
Basic class representing an object of any type in R.
REXP() - Constructor for class org.rosuda.REngine.REXP
public root contrsuctor, same as new REXP(null)
REXP(REXPList) - Constructor for class org.rosuda.REngine.REXP
public root constructor
REXPDouble - Class in org.rosuda.REngine
REXPDouble represents a vector of double precision floating point values.
REXPDouble(double) - Constructor for class org.rosuda.REngine.REXPDouble
create real vector of the length 1 with the given value as its first (and only) element
REXPDouble(double[]) - Constructor for class org.rosuda.REngine.REXPDouble
 
REXPDouble(double[], REXPList) - Constructor for class org.rosuda.REngine.REXPDouble
 
REXPEnvironment - Class in org.rosuda.REngine
 
REXPEnvironment(REngine, Object) - Constructor for class org.rosuda.REngine.REXPEnvironment
 
REXPExpressionVector - Class in org.rosuda.REngine
 
REXPExpressionVector(RList) - Constructor for class org.rosuda.REngine.REXPExpressionVector
 
REXPExpressionVector(RList, REXPList) - Constructor for class org.rosuda.REngine.REXPExpressionVector
 
REXPFactor - Class in org.rosuda.REngine
 
REXPFactor(int[], String[]) - Constructor for class org.rosuda.REngine.REXPFactor
create a new factor REXP
REXPFactor(int[], String[], REXPList) - Constructor for class org.rosuda.REngine.REXPFactor
create a new factor REXP
REXPFactor(RFactor) - Constructor for class org.rosuda.REngine.REXPFactor
create a new factor REXP from an existing RFactor
REXPFactor(RFactor, REXPList) - Constructor for class org.rosuda.REngine.REXPFactor
 
REXPFactory - Class in org.rosuda.REngine.Rserve.protocol
representation of R-eXpressions in Java
REXPFactory() - Constructor for class org.rosuda.REngine.Rserve.protocol.REXPFactory
 
REXPFactory(REXP) - Constructor for class org.rosuda.REngine.Rserve.protocol.REXPFactory
 
REXPGenericVector - Class in org.rosuda.REngine
 
REXPGenericVector(RList) - Constructor for class org.rosuda.REngine.REXPGenericVector
 
REXPGenericVector(RList, REXPList) - Constructor for class org.rosuda.REngine.REXPGenericVector
 
REXPInteger - Class in org.rosuda.REngine
REXPDouble represents a vector of integer values.
REXPInteger(int) - Constructor for class org.rosuda.REngine.REXPInteger
create integer vector of the length 1 with the given value as its first (and only) element
REXPInteger(int[]) - Constructor for class org.rosuda.REngine.REXPInteger
create integer vector with the payload specified by load
REXPInteger(int[], REXPList) - Constructor for class org.rosuda.REngine.REXPInteger
create integer vector with the payload specified by load and attributes attr
REXPLanguage - Class in org.rosuda.REngine
represents a language object in R
REXPLanguage(RList) - Constructor for class org.rosuda.REngine.REXPLanguage
 
REXPLanguage(RList, REXPList) - Constructor for class org.rosuda.REngine.REXPLanguage
 
REXPList - Class in org.rosuda.REngine
represents a pairlist in R
REXPList(RList) - Constructor for class org.rosuda.REngine.REXPList
 
REXPList(RList, REXPList) - Constructor for class org.rosuda.REngine.REXPList
 
REXPLogical - Class in org.rosuda.REngine
 
REXPLogical(byte[]) - Constructor for class org.rosuda.REngine.REXPLogical
 
REXPLogical(byte[], REXPList) - Constructor for class org.rosuda.REngine.REXPLogical
 
REXPLogical(boolean[], REXPList) - Constructor for class org.rosuda.REngine.REXPLogical
 
REXPMismatchException - Exception in org.rosuda.REngine
This exception is thrown whenever the operation requested is not supported by the given R object type, e.g. using asStrings on an S4 object.
REXPMismatchException(REXP, String) - Constructor for exception org.rosuda.REngine.REXPMismatchException
primary constructor.
REXPNull - Class in org.rosuda.REngine
represents a NULL object in R.
REXPNull() - Constructor for class org.rosuda.REngine.REXPNull
 
REXPNull(REXPList) - Constructor for class org.rosuda.REngine.REXPNull
 
REXPRaw - Class in org.rosuda.REngine
 
REXPRaw(byte[]) - Constructor for class org.rosuda.REngine.REXPRaw
 
REXPRaw(byte[], REXPList) - Constructor for class org.rosuda.REngine.REXPRaw
 
REXPReference - Class in org.rosuda.REngine
this class represents a reference (proxy) to an R object.
REXPReference(REngine, Object) - Constructor for class org.rosuda.REngine.REXPReference
create an external REXP reference using given engine and handle.
REXPS4 - Class in org.rosuda.REngine
S4 REXP is a completely vanilla REXP
REXPS4() - Constructor for class org.rosuda.REngine.REXPS4
 
REXPS4(REXPList) - Constructor for class org.rosuda.REngine.REXPS4
 
REXPString - Class in org.rosuda.REngine
 
REXPString(String) - Constructor for class org.rosuda.REngine.REXPString
 
REXPString(String[]) - Constructor for class org.rosuda.REngine.REXPString
 
REXPString(String[], REXPList) - Constructor for class org.rosuda.REngine.REXPString
 
REXPSymbol - Class in org.rosuda.REngine
 
REXPSymbol(String) - Constructor for class org.rosuda.REngine.REXPSymbol
 
REXPUnknown - Class in org.rosuda.REngine
 
REXPUnknown(int) - Constructor for class org.rosuda.REngine.REXPUnknown
 
REXPUnknown(int, REXPList) - Constructor for class org.rosuda.REngine.REXPUnknown
 
REXPVector - Class in org.rosuda.REngine
abstract class representing all vectors in R
REXPVector() - Constructor for class org.rosuda.REngine.REXPVector
 
REXPVector(REXPList) - Constructor for class org.rosuda.REngine.REXPVector
 
RFactor - Class in org.rosuda.REngine
representation of a factor variable.
RFactor() - Constructor for class org.rosuda.REngine.RFactor
create a new, empty factor var
RFactor(int[], String[], boolean, int) - Constructor for class org.rosuda.REngine.RFactor
create a new factor variable, based on the supplied arrays.
RFactor(String[], int) - Constructor for class org.rosuda.REngine.RFactor
create a new factor variable by factorizing a given string array.
RFactor(String[]) - Constructor for class org.rosuda.REngine.RFactor
same as RFactor(c, 1)
RFactor(int[], String[]) - Constructor for class org.rosuda.REngine.RFactor
same as RFactor(i,v, true, 1)
RFileInputStream - Class in org.rosuda.REngine.Rserve
RFileInputStream is an InputStream to transfer files from Rserve server to the client.
RFileOutputStream - Class in org.rosuda.REngine.Rserve
RFileOutputStream is an OutputStream to transfer files from the client to Rserve server.
RList - Class in org.rosuda.REngine
implementation of R-lists
All lists (dotted-pair lists, language lists, expressions and vectors) are regarded as named generic vectors.
RList() - Constructor for class org.rosuda.REngine.RList
constructs an empty list
RList(REXP[]) - Constructor for class org.rosuda.REngine.RList
constructs an initialized, unnamed list
RList(int, boolean) - Constructor for class org.rosuda.REngine.RList
 
RList(Collection) - Constructor for class org.rosuda.REngine.RList
constructs an initialized, unnamed list
RList(REXP[], String[]) - Constructor for class org.rosuda.REngine.RList
constructs an initialized, named list.
RList(Collection, String[]) - Constructor for class org.rosuda.REngine.RList
constructs an initialized, named list.
RList(Collection, Collection) - Constructor for class org.rosuda.REngine.RList
constructs an initialized, named list.
RPacket - Class in org.rosuda.REngine.Rserve.protocol
small class encapsulating packets from/to Rserv
RPacket(int, byte[]) - Constructor for class org.rosuda.REngine.Rserve.protocol.RPacket
construct new packet
RserveException - Exception in org.rosuda.REngine.Rserve
 
RserveException(RConnection, String) - Constructor for exception org.rosuda.REngine.Rserve.RserveException
 
RserveException(RConnection, String, int) - Constructor for exception org.rosuda.REngine.Rserve.RserveException
 
RserveException(RConnection, String, RPacket) - Constructor for exception org.rosuda.REngine.Rserve.RserveException
 
RSession - Class in org.rosuda.REngine.Rserve
 
RSession() - Constructor for class org.rosuda.REngine.Rserve.RSession
 
rsrvVersion - Variable in class org.rosuda.REngine.Rserve.RConnection
version of the server (as reported in IDstring just after Rsrv)
RTalk - Class in org.rosuda.REngine.Rserve.protocol
This class encapsulates the QAP1 protocol used by Rserv.
RTalk(InputStream, OutputStream) - Constructor for class org.rosuda.REngine.Rserve.protocol.RTalk
constructor; parameters specify the streams

S

setAttribute(String, REXP) - Method in interface org.rosuda.REngine.MutableREXP
 
setHdr(int, int, byte[], int) - Static method in class org.rosuda.REngine.Rserve.protocol.RTalk
writes cmd/resp/type byte + 3/7 bytes len into a byte buffer at specified offset.
setInt(int, byte[], int) - Static method in class org.rosuda.REngine.Rserve.protocol.RTalk
writes bit-wise int to a byte buffer at specified position in Intel-endian form
setKeyAt(int, String) - Method in class org.rosuda.REngine.RList
set key at the given index.
setLong(long, byte[], int) - Static method in class org.rosuda.REngine.Rserve.protocol.RTalk
 
setSendBufferSize(long) - Method in class org.rosuda.REngine.Rserve.RConnection
Sets send buffer size of the Rserve (in bytes) for the current connection.
shutdown() - Method in class org.rosuda.REngine.Rserve.RConnection
shutdown remote Rserve.
size() - Method in class org.rosuda.REngine.RFactor
returns the number of cases
supportsEnvironemnts() - Method in class org.rosuda.REngine.REngine
 
supportsReferences() - Method in class org.rosuda.REngine.REngine
 
supportsREPL() - Method in class org.rosuda.REngine.REngine
 

T

toDebugString() - Method in class org.rosuda.REngine.REXP
returns representation that it useful for debugging (e.g. it includes attributes)
toDebugString() - Method in class org.rosuda.REngine.REXPDouble
 
toDebugString() - Method in class org.rosuda.REngine.REXPGenericVector
 
toDebugString() - Method in class org.rosuda.REngine.REXPInteger
 
toDebugString() - Method in class org.rosuda.REngine.REXPList
 
toDebugString() - Method in class org.rosuda.REngine.REXPString
 
toDebugString() - Method in class org.rosuda.REngine.REXPSymbol
 
toDebugString() - Method in class org.rosuda.REngine.REXPVector
 
toString() - Method in class org.rosuda.REngine.REngine
 
toString() - Method in class org.rosuda.REngine.REXP
 
toString() - Method in class org.rosuda.REngine.REXPFactor
 
toString() - Method in class org.rosuda.REngine.REXPGenericVector
 
toString() - Method in class org.rosuda.REngine.REXPList
 
toString() - Method in class org.rosuda.REngine.REXPReference
 
toString() - Method in class org.rosuda.REngine.REXPSymbol
 
toString() - Method in class org.rosuda.REngine.REXPUnknown
 
toString() - Method in class org.rosuda.REngine.REXPVector
 
toString() - Method in class org.rosuda.REngine.RFactor
 
toString() - Method in class org.rosuda.REngine.RList
 
toString() - Method in class org.rosuda.REngine.Rserve.protocol.RPacket
 
transferCharset - Static variable in class org.rosuda.REngine.Rserve.RConnection
This static variable specifies the character set used to encode string for transfer.

V

values() - Method in class org.rosuda.REngine.RList
 
voidEval(String) - Method in class org.rosuda.REngine.Rserve.RConnection
evaluates the given command, but does not fetch the result (useful for assignment operations)
voidEvalDetach(String) - Method in class org.rosuda.REngine.Rserve.RConnection
evaluates the given command, detaches the session (see @link{detach()}) and closes connection while the command is being evaluted (requires Rserve 0.4+).

W

write(int) - Method in class org.rosuda.REngine.Rserve.RFileOutputStream
writes one byte to the file.
write(byte[]) - Method in class org.rosuda.REngine.Rserve.RFileOutputStream
writes the content of b into the file.
write(byte[], int, int) - Method in class org.rosuda.REngine.Rserve.RFileOutputStream
Writes specified number of bytes to the remote file.

X

XT_ARRAY_BOOL - Static variable in class org.rosuda.REngine.Rserve.protocol.REXPFactory
xpression type: RBool[]
XT_ARRAY_BOOL_UA - Static variable in class org.rosuda.REngine.Rserve.protocol.REXPFactory
internal use only!
XT_ARRAY_CPLX - Static variable in class org.rosuda.REngine.Rserve.protocol.REXPFactory
xpression type: Complex[]
XT_ARRAY_DOUBLE - Static variable in class org.rosuda.REngine.Rserve.protocol.REXPFactory
xpression type: double[]
XT_ARRAY_INT - Static variable in class org.rosuda.REngine.Rserve.protocol.REXPFactory
xpression type: int[]
XT_ARRAY_STR - Static variable in class org.rosuda.REngine.Rserve.protocol.REXPFactory
xpression type: String[] (currently not used, Vector is used instead)
XT_BOOL - Static variable in class org.rosuda.REngine.Rserve.protocol.REXPFactory
xpression type: RBool
XT_CLOS - Static variable in class org.rosuda.REngine.Rserve.protocol.REXPFactory
xpression type: closure (there is no java class for that type (yet?).
XT_DOUBLE - Static variable in class org.rosuda.REngine.Rserve.protocol.REXPFactory
xpression type: double
XT_FACTOR - Static variable in class org.rosuda.REngine.Rserve.protocol.REXPFactory
xpression type: RFactor; this XT is internally generated (ergo is does not come from Rsrv.h) to support RFactor class which is built from XT_ARRAY_INT
XT_INT - Static variable in class org.rosuda.REngine.Rserve.protocol.REXPFactory
xpression type: integer
XT_LANG - Static variable in class org.rosuda.REngine.Rserve.protocol.REXPFactory
xpression type: language construct (currently content is same as list)
XT_LANG_NOTAG - Static variable in class org.rosuda.REngine.Rserve.protocol.REXPFactory
xpression type: language list (w/o tags)
XT_LANG_TAG - Static variable in class org.rosuda.REngine.Rserve.protocol.REXPFactory
xpression type: language list (w tags)
XT_LIST - Static variable in class org.rosuda.REngine.Rserve.protocol.REXPFactory
xpression type: dotted-pair list (RList)
XT_LIST_NOTAG - Static variable in class org.rosuda.REngine.Rserve.protocol.REXPFactory
xpression type: dotted-pair list (w/o tags)
XT_LIST_TAG - Static variable in class org.rosuda.REngine.Rserve.protocol.REXPFactory
xpression type: dotted-pair list (w tags)
XT_NULL - Static variable in class org.rosuda.REngine.Rserve.protocol.REXPFactory
xpression type: NULL
XT_RAW - Static variable in class org.rosuda.REngine.Rserve.protocol.REXPFactory
xpression type: raw (byte[])
XT_S4 - Static variable in class org.rosuda.REngine.Rserve.protocol.REXPFactory
xpression type: S4 object
XT_STR - Static variable in class org.rosuda.REngine.Rserve.protocol.REXPFactory
xpression type: String
XT_SYM - Static variable in class org.rosuda.REngine.Rserve.protocol.REXPFactory
xpression type: symbol (content is symbol name: String)
XT_SYMNAME - Static variable in class org.rosuda.REngine.Rserve.protocol.REXPFactory
xpression type: symbol name
XT_UNKNOWN - Static variable in class org.rosuda.REngine.Rserve.protocol.REXPFactory
xpression type: unknown; no assumptions can be made about the content
XT_VECTOR - Static variable in class org.rosuda.REngine.Rserve.protocol.REXPFactory
xpression type: generic vector (RList)
XT_VECTOR_EXP - Static variable in class org.rosuda.REngine.Rserve.protocol.REXPFactory
xpression type: expression vector
XT_VECTOR_STR - Static variable in class org.rosuda.REngine.Rserve.protocol.REXPFactory
xpression type: string vector
xtName(int) - Static method in class org.rosuda.REngine.Rserve.protocol.REXPFactory
returns human-readable name of the xpression type as string.

_

_attr() - Method in class org.rosuda.REngine.REXP
this method allows a limited access to object's attributes.
_attr() - Method in class org.rosuda.REngine.REXPReference
 

A C D E F G H I J K L M N O P R S T V W X _