Interface: EvalROptions

WebRChan.EvalROptions

The configuration settings used when evaluating R code.

Table of contents

Properties

Properties

captureConditions

Optional captureConditions: boolean

Should conditions raised during execution be captured and returned? Default: true.

Defined in

webR/webr-chan.ts:72


captureGraphics

Optional captureGraphics: boolean | { bg?: string ; capture?: true ; height: number ; pointsize?: number ; width: number }

Should a new canvas graphics device configured to capture plots be started? Either a boolean value, or an object with properties corresponding to webr::canvas() graphics device arguments. Default: true.

Defined in

webR/webr-chan.ts:79


captureStreams

Optional captureStreams: boolean

Should the stdout and stderr output streams be captured and returned? Default: true.

Defined in

webR/webr-chan.ts:67


env

Optional env: WebRData

The R environment to evaluate within. Default: The global environment.

Defined in

webR/webr-chan.ts:62


throwJsException

Optional throwJsException: boolean

Should an R error condition be re-thrown as a JavaScript exception? Default: true.

Defined in

webR/webr-chan.ts:95


withAutoprint

Optional withAutoprint: boolean

Should the code automatically print output as if it were written at an R console? Default: false.

Defined in

webR/webr-chan.ts:90


withHandlers

Optional withHandlers: boolean

Should the code be executed using a tryCatch with handlers in place? Default: true.

Defined in

webR/webr-chan.ts:100