You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I'd like to use WebR (the statistical language R compiled to WASM, https://github.com/georgestagg/webR) in an Observable notebook. The JS landscape is still lacking a solid statistical framework (see following discussion → https://talk.observablehq.com/t/observable-for-research-advanced-statistics/4538/1), and this could enable more researchers and data scientists to work with Observable notebooks.
However, WebR makes use of SharedArrayBuffers, and therefore requires to be run in a secure context.
Describe the solution you'd like
If possible, the sandbox document would be served including the following headers:
Describe alternatives you've considered
Unfortunately, there seems to be no other way to get WebR to work (see following issue in the WebR repo r-wasm/webr#75).
Is your feature request related to a problem? Please describe.
I'd like to use WebR (the statistical language R compiled to WASM, https://github.com/georgestagg/webR) in an Observable notebook. The JS landscape is still lacking a solid statistical framework (see following discussion → https://talk.observablehq.com/t/observable-for-research-advanced-statistics/4538/1), and this could enable more researchers and data scientists to work with Observable notebooks.
However, WebR makes use of SharedArrayBuffers, and therefore requires to be run in a secure context.
Describe the solution you'd like
If possible, the sandbox document would be served including the following headers:
Describe alternatives you've considered
Unfortunately, there seems to be no other way to get WebR to work (see following issue in the WebR repo r-wasm/webr#75).
Additional context
Notebook (Ambassador account): https://observablehq.com/d/147d41043e6a52f2
Slack Discussion (Ambassador channel): https://observable-community.slack.com/archives/C048DNSCNDP/p1674638959702439
The text was updated successfully, but these errors were encountered: