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

A

add(String) - Method in class org.rosuda.JRclient.RFactor
add a new element (by name)
asBool() - Method in class org.rosuda.JRclient.REXP
get content of the REXP as RBool (if it is one)
asDouble() - Method in class org.rosuda.JRclient.REXP
get content of the REXP as double (if it is one)
asDoubleArray() - Method in class org.rosuda.JRclient.REXP
get content of the REXP as an array of doubles.
asDoubleMatrix() - Method in class org.rosuda.JRclient.REXP
returns the content of the REXP as a matrix of doubles (2D-array: m[rows][cols]).
asFactor() - Method in class org.rosuda.JRclient.REXP
get content of the REXP as RFactor (if it is one)
asInt() - Method in class org.rosuda.JRclient.REXP
get content of the REXP as int (if it is one)
asIntArray() - Method in class org.rosuda.JRclient.REXP
get content of the REXP as an array of integers.
asList() - Method in class org.rosuda.JRclient.REXP
get content of the REXP as RList (if it is one)
asMatrix() - Method in class org.rosuda.JRclient.REXP
this is just an alias for REXP.asDoubleMatrix().
assign(String, String) - Method in class org.rosuda.JRclient.Rconnection
assign a string value to a symbol in R.
assign(String, REXP) - Method in class org.rosuda.JRclient.Rconnection
assign a content of a REXP to a symbol in R.
assign(String, double[]) - Method in class org.rosuda.JRclient.Rconnection
assign values of an array of doubles to a symbol in R (creating as vector of numbers).
assign(String, int[]) - Method in class org.rosuda.JRclient.Rconnection
assign values of an array of integers to a symbol in R (creating as vector of numbers).
asString() - Method in class org.rosuda.JRclient.REXP
get content of the REXP as string (if it is one)
asVector() - Method in class org.rosuda.JRclient.REXP
get content of the REXP as Vector (if it is one)
at(int) - Method in class org.rosuda.JRclient.RFactor
returns name for a specific ID
at(String) - Method in class org.rosuda.JRclient.RList
get xpression given a key
at(int) - Method in class org.rosuda.JRclient.RList
get element at the specified position
AT_crypt - Static variable in class org.rosuda.JRclient.Rconnection
authorization type: unix crypt
AT_plain - Static variable in class org.rosuda.JRclient.Rconnection
authorization type: plain text
attach() - Method in class org.rosuda.JRclient.RSession
attach/resume this session

B

body - Variable in class org.rosuda.JRclient.RList
xpressions containing head and body.

C

close() - Method in class org.rosuda.JRclient.Rconnection
closes current connection
close() - Method in class org.rosuda.JRclient.RFileInputStream
close stream - is not related to the actual Rconnection, calling close does not close the Rconnection
close() - Method in class org.rosuda.JRclient.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.JRclient.Rtalk
 
CMD_attachSession - Static variable in class org.rosuda.JRclient.Rtalk
 
CMD_closeFile - Static variable in class org.rosuda.JRclient.Rtalk
 
CMD_createFile - Static variable in class org.rosuda.JRclient.Rtalk
 
CMD_detachedVoidEval - Static variable in class org.rosuda.JRclient.Rtalk
 
CMD_detachSession - Static variable in class org.rosuda.JRclient.Rtalk
 
CMD_eval - Static variable in class org.rosuda.JRclient.Rtalk
 
CMD_login - Static variable in class org.rosuda.JRclient.Rtalk
 
CMD_openFile - Static variable in class org.rosuda.JRclient.Rtalk
 
CMD_readFile - Static variable in class org.rosuda.JRclient.Rtalk
 
CMD_removeFile - Static variable in class org.rosuda.JRclient.Rtalk
 
CMD_setBufferSize - Static variable in class org.rosuda.JRclient.Rtalk
 
CMD_setSEXP - Static variable in class org.rosuda.JRclient.Rtalk
 
CMD_shutdown - Static variable in class org.rosuda.JRclient.Rtalk
 
CMD_voidEval - Static variable in class org.rosuda.JRclient.Rtalk
 
CMD_writeFile - Static variable in class org.rosuda.JRclient.Rtalk
 
conn - Variable in exception org.rosuda.JRclient.RSrvException
 
createFile(String) - Method in class org.rosuda.JRclient.Rconnection
create a file on the Rserve for writing
crypt(String, String) - Static method in class org.rosuda.JRclient.jcrypt
 

D

detach() - Method in class org.rosuda.JRclient.Rconnection
detaches the session and closes the connection (requires Rserve 0.4+).
DT_ARRAY - Static variable in class org.rosuda.JRclient.Rtalk
 
DT_BYTESTREAM - Static variable in class org.rosuda.JRclient.Rtalk
 
DT_CHAR - Static variable in class org.rosuda.JRclient.Rtalk
 
DT_DOUBLE - Static variable in class org.rosuda.JRclient.Rtalk
 
DT_INT - Static variable in class org.rosuda.JRclient.Rtalk
 
DT_LARGE - Static variable in class org.rosuda.JRclient.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.JRclient.Rtalk
 
DT_STRING - Static variable in class org.rosuda.JRclient.Rtalk
 

E

err - Variable in exception org.rosuda.JRclient.RSrvException
 
ERR_access_denied - Static variable in class org.rosuda.JRclient.Rtalk
 
ERR_auth_failed - Static variable in class org.rosuda.JRclient.Rtalk
 
ERR_conn_broken - Static variable in class org.rosuda.JRclient.Rtalk
 
ERR_data_overflow - Static variable in class org.rosuda.JRclient.Rtalk
 
ERR_detach_failed - Static variable in class org.rosuda.JRclient.Rtalk
 
ERR_inv_cmd - Static variable in class org.rosuda.JRclient.Rtalk
 
ERR_inv_par - Static variable in class org.rosuda.JRclient.Rtalk
 
ERR_IOerror - Static variable in class org.rosuda.JRclient.Rtalk
 
ERR_not_open - Static variable in class org.rosuda.JRclient.Rtalk
 
ERR_object_too_big - Static variable in class org.rosuda.JRclient.Rtalk
 
ERR_out_of_mem - Static variable in class org.rosuda.JRclient.Rtalk
 
ERR_Rerror - Static variable in class org.rosuda.JRclient.Rtalk
 
ERR_session_busy - Static variable in class org.rosuda.JRclient.Rtalk
 
ERR_unknown_cmd - Static variable in class org.rosuda.JRclient.Rtalk
 
ERR_unsupported_cmd - Static variable in class org.rosuda.JRclient.Rtalk
 
eval(String) - Method in class org.rosuda.JRclient.Rconnection
evaluates the given command and retrieves the result

F

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

G

getAttribute() - Method in class org.rosuda.JRclient.REXP
get attribute of the REXP.
getBinaryLength() - Method in class org.rosuda.JRclient.REXP
Calculates the length of the binary representation of the REXP including all headers.
getBinaryRepresentation(byte[], int) - Method in class org.rosuda.JRclient.REXP
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.
getBody() - Method in class org.rosuda.JRclient.RList
get body xpression (CDR)
getCmd() - Method in class org.rosuda.JRclient.Rpacket
get command
getCont() - Method in class org.rosuda.JRclient.Rpacket
get content
getContent() - Method in class org.rosuda.JRclient.REXP
get raw content.
getHead() - Method in class org.rosuda.JRclient.RList
get head xpression (CAR)
getInt(byte[], int) - Static method in class org.rosuda.JRclient.Rtalk
converts bit-wise stored int in Intel-endian form into Java int
getLastError() - Method in class org.rosuda.JRclient.Rconnection
get last error string
getLen(byte[], int) - Static method in class org.rosuda.JRclient.Rtalk
converts bit-wise stored length from a header.
getLong(byte[], int) - Static method in class org.rosuda.JRclient.Rtalk
converts bit-wise Intel-endian format into long
getMessage() - Method in exception org.rosuda.JRclient.RSrvException
 
getRequestErrorDescription() - Method in exception org.rosuda.JRclient.RSrvException
 
getRequestErrorDescription(int) - Method in exception org.rosuda.JRclient.RSrvException
 
getRequestReturnCode() - Method in exception org.rosuda.JRclient.RSrvException
 
getServerVersion() - Method in class org.rosuda.JRclient.Rconnection
get server version as reported during the handshake.
getStat() - Method in class org.rosuda.JRclient.Rpacket
get status code of last response
getTag() - Method in class org.rosuda.JRclient.RList
get tag xpression
getType() - Method in class org.rosuda.JRclient.REXP
get xpression type (see XT_.. constants) of the content.

H

head - Variable in class org.rosuda.JRclient.RList
xpressions containing head and body.

I

isConnected() - Method in class org.rosuda.JRclient.Rconnection
check connection state.
isError() - Method in class org.rosuda.JRclient.Rpacket
check last response for RESP_ERR
isFALSE() - Method in class org.rosuda.JRclient.RBool
 
isNA() - Method in class org.rosuda.JRclient.RBool
 
isOk() - Method in class org.rosuda.JRclient.Rpacket
check last response for RESP_OK
isTRUE() - Method in class org.rosuda.JRclient.RBool
 

J

jcrypt - Class in org.rosuda.JRclient
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.JRclient.jcrypt
 

K

keys() - Method in class org.rosuda.JRclient.RList
returns all keys of the list

L

login(String, String) - Method in class org.rosuda.JRclient.Rconnection
login using supplied user/pwd.

N

needLogin() - Method in class org.rosuda.JRclient.Rconnection
check authentication requirement sent by server
newHdr(int, int) - Static method in class org.rosuda.JRclient.Rtalk
creates a new header according to the type and length of the parameter

O

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

P

parseREXP(REXP, byte[], int) - Static method in class org.rosuda.JRclient.REXP
parses byte buffer for binary representation of xpressions - read one xpression slot (descends recursively for aggregated xpressions such as lists, vectors etc.)

Q

quoteString(String) - Static method in class org.rosuda.JRclient.REXP
 

R

RBool - Class in org.rosuda.JRclient
Implementation of tri-state logical data type in R.
RBool(boolean) - Constructor for class org.rosuda.JRclient.RBool
 
RBool(RBool) - Constructor for class org.rosuda.JRclient.RBool
 
RBool(int) - Constructor for class org.rosuda.JRclient.RBool
 
Rconnection - Class in org.rosuda.JRclient
class providing TCP/IP connection to an Rserve
Rconnection() - Constructor for class org.rosuda.JRclient.Rconnection
make a new local connection on default port (6311)
Rconnection(String) - Constructor for class org.rosuda.JRclient.Rconnection
make a new connection to specified host on default port (6311)
Rconnection(String, int) - Constructor for class org.rosuda.JRclient.Rconnection
make a new connection to specified host and given port.
read() - Method in class org.rosuda.JRclient.RFileInputStream
reads one byte from the file.
read(byte[], int, int) - Method in class org.rosuda.JRclient.RFileInputStream
Reads specified number of bytes (or less) from the remote file.
removeFile(String) - Method in class org.rosuda.JRclient.Rconnection
remove a file on the Rserve
reqReturnCode - Variable in exception org.rosuda.JRclient.RSrvException
 
request(int) - Method in class org.rosuda.JRclient.Rtalk
sends a request with no attached parameters
request(int, byte[]) - Method in class org.rosuda.JRclient.Rtalk
sends a request with attached parameters
request(int, byte[], byte[], int, int) - Method in class org.rosuda.JRclient.Rtalk
sends a request with attached prefix and parameters.
request(int, String) - Method in class org.rosuda.JRclient.Rtalk
sends a request with one string parameter attached
request(int, int) - Method in class org.rosuda.JRclient.Rtalk
sends a request with one string parameter attached
REXP - Class in org.rosuda.JRclient
representation of R-eXpressions in Java
REXP() - Constructor for class org.rosuda.JRclient.REXP
construct a new, empty (NULL) expression w/o attribute
REXP(int, Object) - Constructor for class org.rosuda.JRclient.REXP
construct a new xpression of type t and content o, but no attribute
REXP(int, Object, REXP) - Constructor for class org.rosuda.JRclient.REXP
construct a new xpression of type t, content o and attribute at
REXP(double[]) - Constructor for class org.rosuda.JRclient.REXP
construct a new xpression of type XT_ARRAY_DOUBLE and content val
REXP(int[]) - Constructor for class org.rosuda.JRclient.REXP
construct a new xpression of type XT_ARRAY_INT and content val
REXP(String[]) - Constructor for class org.rosuda.JRclient.REXP
construct a new xpression of type XT_ARRAY_INT and content val
RFactor - Class in org.rosuda.JRclient
representation of a factor variable.
RFactor() - Constructor for class org.rosuda.JRclient.RFactor
create a new, empty factor var
RFactor(int[], String[]) - Constructor for class org.rosuda.JRclient.RFactor
create a new factor variable, based on the supplied arrays.
RFactor(int[], Vector) - Constructor for class org.rosuda.JRclient.RFactor
special constructor used by REXP parser to save some re-indexing and performing automatic index conversion
RFileInputStream - Class in org.rosuda.JRclient
RFileInputStream is an InputStream to transfer files from Rserve server to the client.
RFileOutputStream - Class in org.rosuda.JRclient
RFileOutputStream is an OutputStream to transfer files from the client to Rserve server.
RList - Class in org.rosuda.JRclient
implementation of R-lists
This is rather preliminary and may change in future since it's not really proper.
RList() - Constructor for class org.rosuda.JRclient.RList
constructs an empty list
RList(REXP, REXP) - Constructor for class org.rosuda.JRclient.RList
constructs an initialized list
Rpacket - Class in org.rosuda.JRclient
small class encapsulating packets from/to Rserv
Rpacket(int, byte[]) - Constructor for class org.rosuda.JRclient.Rpacket
construct new packet
RSession - Class in org.rosuda.JRclient
 
RSession() - Constructor for class org.rosuda.JRclient.RSession
 
RSrvException - Exception in org.rosuda.JRclient
 
RSrvException(Rconnection, String) - Constructor for exception org.rosuda.JRclient.RSrvException
 
RSrvException(Rconnection, String, int) - Constructor for exception org.rosuda.JRclient.RSrvException
 
RSrvException(Rconnection, String, Rpacket) - Constructor for exception org.rosuda.JRclient.RSrvException
 
rsrvVersion - Variable in class org.rosuda.JRclient.Rconnection
version of the server (as reported in IDstring just after Rsrv)
Rtalk - Class in org.rosuda.JRclient
This class encapsulates the QAP1 protocol used by Rserv.
Rtalk(InputStream, OutputStream) - Constructor for class org.rosuda.JRclient.Rtalk
constructor; parameters specify the streams

S

setHdr(int, int, byte[], int) - Static method in class org.rosuda.JRclient.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.JRclient.Rtalk
writes bit-wise int to a byte buffer at specified position in Intel-endian form
setLong(long, byte[], int) - Static method in class org.rosuda.JRclient.Rtalk
 
setSendBufferSize(long) - Method in class org.rosuda.JRclient.Rconnection
Sets send buffer size of the Rserve (in bytes) for the current connection.
shutdown() - Method in class org.rosuda.JRclient.Rconnection
shutdown remote Rserv.
size() - Method in class org.rosuda.JRclient.RFactor
returns the number of caes

T

tag - Variable in class org.rosuda.JRclient.RList
xpressions containing head and body.
toString() - Method in class org.rosuda.JRclient.RBool
 
toString() - Method in class org.rosuda.JRclient.REXP
displayable contents of the expression.
toString() - Method in class org.rosuda.JRclient.RFactor
displayable representation of the factor variable
toString() - Method in class org.rosuda.JRclient.Rpacket
 
transferCharset - Static variable in class org.rosuda.JRclient.Rconnection
This static variable specifies the character set used to encode string for transfer.

V

voidEval(String) - Method in class org.rosuda.JRclient.Rconnection
evaluates the given command, but does not fetch the result (useful for assignment operations)
voidEvalDetach(String) - Method in class org.rosuda.JRclient.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.JRclient.RFileOutputStream
writes one byte to the file.
write(byte[]) - Method in class org.rosuda.JRclient.RFileOutputStream
writes the content of b into the file.
write(byte[], int, int) - Method in class org.rosuda.JRclient.RFileOutputStream
Writes specified number of bytes to the remote file.

X

XT_ARRAY_BOOL - Static variable in class org.rosuda.JRclient.REXP
xpression type: RBool[]
XT_ARRAY_BOOL_UA - Static variable in class org.rosuda.JRclient.REXP
internal use only!
XT_ARRAY_DOUBLE - Static variable in class org.rosuda.JRclient.REXP
xpression type: double[]
XT_ARRAY_INT - Static variable in class org.rosuda.JRclient.REXP
xpression type: int[]
XT_ARRAY_STR - Static variable in class org.rosuda.JRclient.REXP
xpression type: String[] (currently not used, Vector is used instead)
XT_BOOL - Static variable in class org.rosuda.JRclient.REXP
xpression type: RBool
XT_CLOS - Static variable in class org.rosuda.JRclient.REXP
xpression type: closure (there is no java class for that type (yet?).
XT_DOUBLE - Static variable in class org.rosuda.JRclient.REXP
xpression type: double
XT_FACTOR - Static variable in class org.rosuda.JRclient.REXP
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.JRclient.REXP
xpression type: integer
XT_LANG - Static variable in class org.rosuda.JRclient.REXP
xpression type: language construct (currently content is same as list)
XT_LIST - Static variable in class org.rosuda.JRclient.REXP
xpression type: RList
XT_NULL - Static variable in class org.rosuda.JRclient.REXP
xpression type: NULL
XT_STR - Static variable in class org.rosuda.JRclient.REXP
xpression type: String
XT_SYM - Static variable in class org.rosuda.JRclient.REXP
xpression type: symbol (content is symbol name: String)
XT_UNKNOWN - Static variable in class org.rosuda.JRclient.REXP
xpression type: unknown; no assumptions can be made about the content
XT_VECTOR - Static variable in class org.rosuda.JRclient.REXP
xpression type: Vector
xtName(int) - Static method in class org.rosuda.JRclient.REXP
returns human-readable name of the xpression type as string.

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