Optional
options: Partial<RShellOptions>Send a command and collect the output
The R command to execute (similar to sendCommand)
Optional
addonConfig: Partial<OutputCollectorConfiguration>Further configuration on how and what to collect: see OutputCollectorConfiguration, defaults are set in DEFAULT_OUTPUT_COLLECTOR_CONFIGURATION
The
RShell
represents an interactive session with the R interpreter. You can configure it by RShellOptions.At the moment we are using a live R session (and not networking etc.) to communicate with R easily, which allows us to install packages etc. However, this might and probably will change in the future (leaving this as a legacy mode :D)