Interface: WebROptions
WebR.WebROptions
The configuration settings to be used when starting webR.
Table of contents
Properties
Properties
PKG_URL
• Optional
PKG_URL: string
The repo URL to use when downloading R WebAssembly packages. Default: 'https://repo.r-wasm.org/
Defined in
webR/webr-main.ts:113
RArgs
• Optional
RArgs: string
[]
Command line arguments to be passed to R. Default: []
.
Defined in
webR/webr-main.ts:95
REnv
• Optional
REnv: Object
Environment variables to be made available for the R process. Default: { R_HOME: '/usr/lib/R', R_ENABLE_JIT: 0 }
.
Index signature
▪ [key: string
]: string
Defined in
webR/webr-main.ts:101
SW_URL
• Optional
SW_URL: string
The base URL from where to load JavaScript worker scripts when loading webR with the ServiceWorker communication channel mode. Default: ''
Defined in
webR/webr-main.ts:120
WEBR_URL
• Optional
WEBR_URL: string
The base URL used for downloading R WebAssembly binaries. Default: 'https://webr.r-wasm.org/[version]/'
Defined in
webR/webr-main.ts:107
channelType
• Optional
channelType: 0
| 1
| 2
Set the communication channel type to be used. Deafult: channelType.Automatic
Defined in
webR/webr-main.ts:138
homedir
• Optional
homedir: string
The WebAssembly user’s home directory and initial working directory. Default: '/home/web_user'
Defined in
webR/webr-main.ts:126
interactive
• Optional
interactive: boolean
Start R in interactive mode? Default: true
.
Defined in
webR/webr-main.ts:132