@eagleoutice/flowr - v2.10.2
    Preparing search index...

    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().

    Implements

    Index

    Constructors

    Properties

    name: "r-shell" = 'r-shell'
    options: Readonly<RShellExecutionOptions>

    Methods

    • Adds commands that should be executed for every run.

      Parameters

      • commands: string | string[]

      Returns this

    • Runs the given command in the R interpreter.

      Parameters

      • command: string
      • returnErr: boolean = false

      Returns string

    • Instead of returning a promise, this method returns the version of the R interpreter available to this executor, in the SemVer format.

      Returns SemVer | null