Package | Description |
---|---|
org.nuiton.j2r | |
org.nuiton.j2r.jni | |
org.nuiton.j2r.net | |
org.nuiton.j2r.types |
Modifier and Type | Method and Description |
---|---|
void |
RProxy.clearSession()
Method to remove all objects from the R session.
|
void |
REngineAbstract.clearSession()
Method to clear the R session.
|
void |
REngine.clearSession()
Remove all the objects present in the actual R session.
|
void |
RProxy.commit()
Method to launch the evaluation of all the R expressions stored when in
non-autocommit mode.
|
void |
REngine.commit()
Commit all the R instructions that have been stored and not commited yet.
|
void |
RProxy.cp(String inputObject,
String outputObject)
Method similar to the linux cp command : copy a R object.
|
void |
REngineAbstract.cp(String source,
String destination)
Copy a R Object into another one (similar to the linux cp instruction).
|
void |
REngine.cp(String source,
String destination)
Copy an object.
|
void |
RProxy.dget(String rObject,
File inputFile)
Use the dget R instruction to store the content of a file (created with
the dput instruction) into a R object.
|
void |
REngineAbstract.dget(String rObject,
File inputFile)
Use the dget rInstruction to store the content of a file (created with
the dput instruction) into a R object.
|
void |
REngine.dget(String rObject,
File inputFile)
Use the dget rInstruction to store the content of a file (created with
the dput instruction) into a R object.
|
void |
RProxy.dget(String rObject,
String inputFileName)
Use the dget R instruction to store the content of a file (created with
the dput R instruction) into a R object.
|
void |
REngineAbstract.dget(String rObject,
String inputFileName)
Use the dget rInstruction to store the content of a file (created with
the dput instruction) into a R object.
|
void |
REngine.dget(String rObject,
String inputFileName)
Use the dget rInstruction to store the content of a file (created with
the dput instruction) into a R object.
|
void |
RProxy.dput(String rObject,
File outputFile)
Use the dput R instruction to store the content of a R object to a file.
|
void |
REngineAbstract.dput(String rObject,
File outputFile)
Use the dput R instruction to store the content of a R object to a file.
|
void |
REngine.dput(String rObject,
File outputFile)
Use the dput R instruction to store the content of a R object to a file.
|
void |
RProxy.dput(String rObject,
String outputFileName)
Use the dput R instruction to store the content of a R object to a file.
|
void |
REngineAbstract.dput(String rObject,
String outputFileName)
Use the dput R instruction to store the content of a R object to a file.
|
void |
REngine.dput(String rObject,
String outputFileName)
Use the dput R instruction to store the content of a R object to a file.
|
Object |
RProxy.eval(String expr)
Send a R instruction to the engine and get the result back.
|
Object |
REngine.eval(String expr)
Evaluate the expression given in parameter in R.
|
Object |
RProxy.evalScript(String expr)
Send a R multi-line instruction to the engine and get the result back.
|
Object |
REngine.evalScript(String expr)
Evaluate the multi-line expression given in parameter in R.
|
File |
RProxy.getwd()
Get the actual R session working directory
|
File |
REngineAbstract.getwd()
Get the actual R session working directory
|
File |
REngine.getwd()
Get the actual R session working directory
|
void |
RProxy.loadRData(File directory)
Load .RData file located in directory
|
void |
REngineAbstract.loadRData(File directory)
Load a specific R session :
Load .RData file located in directory
|
void |
REngine.loadRData(File directory)
Load .RData file located in directory
|
void |
RProxy.loadRData(File directory,
String fileName)
Load a specific R session :
Load the "fileName.RData" file located in directory.
|
void |
REngineAbstract.loadRData(File directory,
String fileName)
Load a specific R session :
Load the "fileName.RData" file located in directory.
|
void |
REngine.loadRData(File directory,
String fileName)
Load a specific R session :
Load the "fileName.RData" file located in directory.
|
void |
RProxy.loadRData(String filename) |
void |
REngineAbstract.loadRData(String fileName)
Load the "fileName.RData" file located in current working directory.
|
void |
REngine.loadRData(String filename)
Load filename.RData file located in current working directory
|
String[] |
RProxy.ls()
Method to get all the R objects present in session.
|
String[] |
REngineAbstract.ls()
Method to get all the R object in session.
|
String[] |
REngine.ls()
List all R object present in the actual session
|
void |
RProxy.mv(String source,
String destination)
Method similar to the linux mv command : rename a R object.
|
void |
REngineAbstract.mv(String source,
String destination)
Method similar to the linux mv instruction : move an object to a
destination, or in this case, rename a R object.
|
void |
REngine.mv(String source,
String destination)
Make a copy of an object and remove the old one.
|
void |
RProxy.plot(String filename,
String x,
String y,
String type,
String main,
String sub,
String xlab,
String ylab,
String asp) |
void |
REngineAbstract.plot(String filename,
String x,
String y,
String type,
String main,
String sub,
String xlab,
String ylab,
String asp) |
void |
REngine.plot(String filename,
String x,
String y,
String type,
String main,
String sub,
String xlab,
String ylab,
String asp) |
void |
RProxy.remove(String rObject)
Remove an object from the R session using the remove(rObject) R function.
|
void |
REngineAbstract.remove(String rObject)
Remove a R object from the R session using the R method : remove(rObject).
|
void |
REngine.remove(String rObject)
Remove a R object from the actual session
|
void |
RProxy.saveRData(File directory)
Save the session in a .RData file in directory
|
void |
REngineAbstract.saveRData(File directory)
Save the session in a .RData file in directory
|
void |
REngine.saveRData(File directory)
Save the session in a .RData file in directory
|
void |
RProxy.saveRData(File directory,
String fileName)
Save a R session in a fileName.RData file located in directory.
|
void |
REngineAbstract.saveRData(File directory,
String fileName)
Save a R session in a fileName.RData file located in directory.
|
void |
REngine.saveRData(File directory,
String fileName)
Save a R session in a fileName.RData file located in directory.
|
void |
RProxy.saveRData(String filename) |
void |
REngineAbstract.saveRData(String filename)
Save the session in a .RData file in current working directory
|
void |
REngine.saveRData(String filename)
Save a R session in a filename.RData file located in the current working
directory
|
void |
RProxy.setAutoCommit(Boolean autocommit)
Method to set the autocommit mode :
true : autocommit mode
false : non-autocommit mode
|
void |
REngineAbstract.setAutoCommit(Boolean autocommit)
Change the autocommit mode of the engine.
|
void |
REngine.setAutoCommit(Boolean autocommit)
Set the autocommit property.
|
void |
RProxy.setwd(File directory)
Set the R working directory
|
void |
REngineAbstract.setwd(File directory)
Set the R working directory
|
void |
REngine.setwd(File directory)
Set the R working directory
|
void |
RProxy.terminate()
Terminate the R engine.
|
void |
REngine.terminate()
End the engine use.
|
void |
RProxy.voidEval(String expr)
Send a R instruction to the engine without getting back its result.
|
void |
REngine.voidEval(String expr)
Evaluate the expression given in parameter in R without result returned.
|
Constructor and Description |
---|
RProxy()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
RJniEngine.commit()
Method to commit all the R instructions stored when not in autocommit
mode.
|
Object |
RJniEngine.eval(String expr)
Evaluate a R expression in R and get back the result.
|
Object |
RJniEngine.evalScript(String expr)
Evaluate a R multi-line expression in R and get back the result.
|
void |
RJniEngine.voidEval(String expr)
Evaluate a R expression in R without getting back the result.
|
Modifier and Type | Method and Description |
---|---|
void |
RNetEngine.commit()
Method to commit all the R expressions stored while in non-autocommit
mode
|
Object |
RNetEngine.eval(String expr)
Method to send a R instruction to the engine and get back the result.
|
Object |
RNetEngine.evalScript(String expr)
Evaluate a R multi-line expression in R and get back the result.
|
void |
RNetEngine.terminate()
Terminate the connection with the server.
|
void |
RNetEngine.voidEval(String expr)
Method to send a R instruction to the engine without getting back the
result.
|
Modifier and Type | Method and Description |
---|---|
protected void |
RDataFrame.checkType(Object o) |
protected void |
REXPAbstract.checkVariable()
Test that the variable name has been set so that the REXP can be sent to
R.
|
int[] |
RDataFrame.dim() |
Object |
RList.get(int x)
Method to get the object located at the [x] coordinate.
|
Object |
RDataFrame.get(int x,
int y)
Method to get the object located at the [x,y] coordinates.
|
Object |
REXP.getAttribute(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.
|
Object |
REXPAbstract.getAttribute(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.
|
Map<String,Object> |
REXP.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.
|
Map<String,Object> |
REXPAbstract.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 |
RDataFrame.getFrom(String variable)
Method to get a data.frame from a variable in R.
|
void |
REXP.getFrom(String variable)
Method to get a data.frame from a variable in R.
|
void |
RList.getFrom(String variable)
Method to get a list from a variable in R.
|
String |
REXPAbstract.getName(int x)
Method to get the name of the ArrayList that is at this x index of the R
data.frame.
|
List<String> |
REXPAbstract.getNames()
Method to get the names of the ArrayLists of the R data.frame.
|
String |
RDataFrame.getRowName(int y)
Method to get the row name of the row index y+1 of the R data.frame.
|
List<String> |
RDataFrame.getRowNames()
Method to get the names of the rows of the R data.frame
|
void |
RList.set(int x,
Boolean data)
Method to set the xth object of the list to a value.
|
void |
RList.set(int x,
Double data)
Method to set the xth object of the list to a value.
|
void |
RDataFrame.set(int x,
int y,
Boolean data) |
void |
RDataFrame.set(int x,
int y,
Double data)
Method to set the value (x,y) to a Double value.
|
void |
RList.set(int x,
Integer data)
Method to set the xth object of the list to a value.
|
void |
RDataFrame.set(int x,
int y,
Integer data) |
void |
RDataFrame.set(int x,
int y,
String data) |
void |
RList.set(int x,
REXP data)
Method to set the xth object of the list to a value.
|
void |
RList.set(int x,
String data)
Method to set the xth object of the list to a value.
|
void |
REXPAbstract.setAttribute(String attribute,
Boolean value) |
void |
REXPAbstract.setAttribute(String attribute,
Double value) |
void |
REXPAbstract.setAttribute(String attribute,
Integer value) |
void |
REXP.setAttribute(String attribute,
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 |
REXPAbstract.setAttribute(String attribute,
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 |
REXPAbstract.setAttribute(String attribute,
REXP value) |
void |
REXPAbstract.setAttribute(String attribute,
String value) |
void |
REXP.setAttributes(Map<String,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.
|
void |
REXPAbstract.setAttributes(Map<String,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.
|
void |
RDataFrame.setData(List<List<?>> data)
Method to assign the data of the R data.frame (there is no synchronizing
with R, use the commit() method to send data to R.
|
void |
RList.setData(List<Object> data)
Method to assign the data of the R list.
|
void |
REXPAbstract.setEngine(REngine engine)
Method to set the engine used by the REXP.
|
void |
REXPAbstract.setName(int x,
String name)
Method to assign the name of the Object at the index x.
|
void |
REXPAbstract.setNames(List<String> names)
Method to assign names of the complex REXP objects.
|
void |
RDataFrame.setRowName(int x,
String rowName)
Method to assign the name of the ArrayList at the index x.
|
void |
RDataFrame.setRowNames(List<String> rowNames)
Method to assign the names of the rows of the R data.frame
|
void |
REXPAbstract.setVariable(String variable)
Method to set the R expression variable name
|
String |
RDataFrame.toRString()
Method to export the data.frame in a String for evaluation in R.
|
String |
REXP.toRString()
Method to export the R object in a String for evaluation in R.
|
String |
RList.toRString()
Method to export the list in a String for evaluation in R.
|
protected String |
RList.toRString(int i)
Create the R instruction for element at index i
|
Constructor and Description |
---|
RDataFrame(REngine engine,
List<String> names,
List<String> rowNames,
List<List<?>> data,
String variable)
Constructor
|
RDataFrame(REngine engine,
Object[] datatypes,
int y)
Constructor
|
RList(List<String> names,
List<Object> data,
REngine engine,
String variable)
Create the RList with parameters and initialize it in R.
|
RList(String[] names,
List<Object> data,
REngine engine,
String variable)
Create the RList with parameters and initialize it in R.
|
Copyright © 2006–2018 CodeLutin. All rights reserved.