public class RServeClient extends AbstractRClient
log
Modifier | Constructor and Description |
---|---|
protected |
RServeClient()
Gets connection on default host (localhost) and port (6311)
|
protected |
RServeClient(String host) |
Modifier and Type | Method and Description |
---|---|
void |
assign(String argName,
double[] arg) |
void |
assign(String arg0,
int[] arg1) |
void |
assign(String sym,
String ct) |
void |
assign(String argName,
String[] array) |
boolean |
connect() |
void |
disconnect() |
org.rosuda.REngine.REXP |
eval(String command)
Evaluate the given command
|
void |
finalize() |
protected static String |
findRserveCommand() |
String |
getLastError() |
boolean |
isConnected() |
DoubleMatrix<String,String> |
retrieveMatrix(String variableName)
Get a matrix back out of the R context.
|
void |
voidEval(String command) |
assignFactor, assignFactor, assignMatrix, assignMatrix, assignMatrix, assignStringList, booleanDoubleArrayEval, dataFrame, dataFrameEval, doubleArrayDoubleArrayEval, doubleArrayEval, doubleArrayTwoDoubleArrayEval, doubleTwoDoubleArrayEval, intArrayEval, linearModel, linearModel, listEval, loadLibrary, loadScript, oneWayAnova, oneWayAnovaEval, remove, rowApplyLinearModel, stringEval, stringListEval, twoWayAnova, twoWayAnovaEval, variableIdentityNumber
protected RServeClient() throws IOException
IOException
protected RServeClient(String host) throws IOException
host
- IOException
protected static String findRserveCommand() throws org.apache.commons.configuration2.ex.ConfigurationException
org.apache.commons.configuration2.ex.ConfigurationException
public void assign(String argName, double[] arg)
public void assign(String arg0, int[] arg1)
public boolean connect()
public void disconnect()
disconnect
in class AbstractRClient
public org.rosuda.REngine.REXP eval(String command)
RClient
public String getLastError()
public boolean isConnected()
public DoubleMatrix<String,String> retrieveMatrix(String variableName)
RClient
public void voidEval(String command)
Copyright © 2003–2022 UBC Michael Smith Laboratories. All rights reserved.