Class RScriptRunner
java.lang.Object
es.urjc.etsii.grafo.autoconfig.r.RScriptRunner
- All Implemented Interfaces:
RLangRunner
Executes R scripts using the system
Rscript command.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute(RExecutionRequest request) Execute the requested R script and wait for it to finish.
-
Constructor Details
-
RScriptRunner
public RScriptRunner()Create a runner backed byProcessBuilder.start().
-
-
Method Details
-
execute
Description copied from interface:RLangRunnerExecute the requested R script and wait for it to finish.- Specified by:
executein interfaceRLangRunner- Parameters:
request- execution parameters- Returns:
- completed process information and output log locations
-