This is a synchronous alternative to the RShell. Please be aware that using this is expensive. Every request effectively causes a new initialization of the R interpreter.
With this class you can run(command) commands, that are potentially decorated with prerequisites. For compatibility, we provide parse(request) and rVersion().
Optional
Readonly
Adds commands that should be executed for every run.
Parses the given request and returns the result.
Runs the given command in the R interpreter.
the version of the R interpreter available to this executor.
Instead of returning a promise, this method returns the version of the R interpreter available to this executor, in the SemVer format.
This is a synchronous alternative to the RShell. Please be aware that using this is expensive. Every request effectively causes a new initialization of the R interpreter.
With this class you can run(command) commands, that are potentially decorated with prerequisites. For compatibility, we provide parse(request) and rVersion().