Package com.github.rcaller.io
Class RCodeIO
- java.lang.Object
-
- com.github.rcaller.io.RCodeIO
-
public class RCodeIO extends Object
-
-
Constructor Summary
Constructors Constructor Description RCodeIO()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetInterprocessDependencies(RCallerOptions rCallerOptions)Prepare R script with functions or/and module loadings that would be used in following IPCstatic StringgetVariableExporting(RCallerOptions rCallerOptions, String variableName, URI target)Prepare R script for exporting variable from top level R environment to file or another IPC channel
-
-
-
Method Detail
-
getInterprocessDependencies
public static String getInterprocessDependencies(RCallerOptions rCallerOptions)
Prepare R script with functions or/and module loadings that would be used in following IPC- Parameters:
rCallerOptions- Current parameters for selecting implementation- Returns:
- R script with functions or/and module loadings to be added to user's code
-
getVariableExporting
public static String getVariableExporting(RCallerOptions rCallerOptions, String variableName, URI target)
Prepare R script for exporting variable from top level R environment to file or another IPC channel- Parameters:
rCallerOptions- Current parameters for selecting implementationvariableName- R variable to be exportedtarget- file or socket where export should be saved- Returns:
- R script for exporting variable to be added to user's code
-
-