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

A

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
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

C

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_ctrlEval - Static variable in class org.rosuda.REngine.Rserve.protocol.RTalk
 
CMD_ctrlShutdown - Static variable in class org.rosuda.REngine.Rserve.protocol.RTalk
 
CMD_ctrlSource - 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_setEncoding - 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
 
createFile(String) - Method in class org.rosuda.REngine.Rserve.RConnection
create a file on the Rserve for writing
createReference(REXP) - Method in class org.rosuda.REngine.Rserve.RConnection
 
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+).
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

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_ctrl_closed - 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(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
 
finalizeReference(REXP) - 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.Rserve.RConnection
get a value from an environment
getAttr() - Method in class org.rosuda.REngine.Rserve.protocol.REXPFactory
 
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
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
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.Rserve.RConnection
 
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
 
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
 

I

isConnected() - Method in class org.rosuda.REngine.Rserve.RConnection
check connection state.
isError() - Method in class org.rosuda.REngine.Rserve.protocol.RPacket
check last response for RESP_ERR
isOk() - Method in class org.rosuda.REngine.Rserve.protocol.RPacket
check last response for RESP_OK

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
 

L

login(String, String) - Method in class org.rosuda.REngine.Rserve.RConnection
login using supplied user/pwd.

N

needLogin() - Method in class org.rosuda.REngine.Rserve.RConnection
check authentication requirement sent by server
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.Rserve - package org.rosuda.REngine.Rserve
REngine-based interface to Rserve
org.rosuda.REngine.Rserve.protocol - package org.rosuda.REngine.Rserve.protocol
 

P

parse(String, boolean) - Method in class org.rosuda.REngine.Rserve.RConnection
 
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.)

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.
RConnection(Socket) - Constructor for class org.rosuda.REngine.Rserve.RConnection
create a connection based on a previously obtained socket.
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.
removeFile(String) - Method in class org.rosuda.REngine.Rserve.RConnection
remove a file on the Rserve
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
resolveReference(REXP) - Method in class org.rosuda.REngine.Rserve.RConnection
fetch the contents of the given reference.
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
 
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.
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, Throwable) - 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

serverEval(String) - Method in class org.rosuda.REngine.Rserve.RConnection
evaluates the given command in the master server process asynchronously (control command).
serverShutdown() - Method in class org.rosuda.REngine.Rserve.RConnection
attempt to shut down the server process cleanly.
serverSource(String) - Method in class org.rosuda.REngine.Rserve.RConnection
sources the given file (the path must be local to the server!) in the master server process asynchronously (control command).
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
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.
setStringEncoding(String) - Method in class org.rosuda.REngine.Rserve.RConnection
set string encoding for this session.
shutdown() - Method in class org.rosuda.REngine.Rserve.RConnection
shutdown remote Rserve.

T

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

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! this constant should never appear in a REXP
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.

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

Copyright © 2015. All rights reserved.