A high level R interface for Java that extends org.rosuda.REngine.REngine of the Rserve project.
Includes
- Single instance static interface to R (because R is single threaded) that includes:
- Load and initialise functions.
- Multiple methods for evaluating R expressions including with/without output of returned expressions or printed output, and with/without exception handling.
- Evaluation of expressions from files.
- Assignment of R objects.
- Message output to the R console.
- Java object representations of R matrices, dataframes, and vectors.
- Conversion of Java bean collections and Casper datasets to R dataframes
- Conversion of R dataframes, matrices and vectors to Casper datasets
- GUI elements including:
- A Swing console with a command history
- A JTree representing objects in the R environment
- A interface for UIs that gathers input from the user and executes an R command.
RSwingConsoleExample (see Usage for how to run)
