Interface: WebROptions
WebR.WebROptions
The configuration settings to be used when starting webR.
Table of contents
Properties
Properties
RArgs
• Optional
RArgs: string
[]
Command line arguments to be passed to R. Default: []
.
Defined in
webR/webr-main.ts:100
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:106
baseUrl
• Optional
baseUrl: string
The base URL used for downloading R WebAssembly binaries. Default: 'https://webr.r-wasm.org/[version]/'
Defined in
webR/webr-main.ts:112
channelType
• Optional
channelType: 0
| 1
| 2
Set the communication channel type to be used. Default: channelType.Automatic
Defined in
webR/webr-main.ts:143
createLazyFilesystem
• Optional
createLazyFilesystem: boolean
Create the lazy virtual filesystem entries before starting R? Default: true
.
Defined in
webR/webr-main.ts:149
homedir
• Optional
homedir: string
The WebAssembly user’s home directory and initial working directory. Default: '/home/web_user'
Defined in
webR/webr-main.ts:131
interactive
• Optional
interactive: boolean
Start R in interactive mode? Default: true
.
Defined in
webR/webr-main.ts:137
repoUrl
• Optional
repoUrl: string
The repo URL to use when downloading R WebAssembly packages. Default: 'https://repo.r-wasm.org/
Defined in
webR/webr-main.ts:118
serviceWorkerUrl
• Optional
serviceWorkerUrl: 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:125