Package es.urjc.etsii.grafo.autoconfig.r
Class RLangRunner
java.lang.Object
es.urjc.etsii.grafo.autoconfig.r.RLangRunner
- Direct Known Subclasses:
GraalRLangRunner
,ShellRLangRunner
Runs arbitrary R code
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
drainStream
(Level level, InputStream stream) Drain a given stream to logsabstract void
execute
(InputStream rCode) Execute the given R code
-
Constructor Details
-
RLangRunner
public RLangRunner()
-
-
Method Details
-
drainStream
Drain a given stream to logs- Parameters:
level
- LogLevelstream
- stream to drain- Throws:
IOException
- if something goes wrong
-
execute
Execute the given R code- Parameters:
rCode
- R code to execute
-