coatless / quarto-webr

Community developed Quarto Extension to Embed webR for HTML Documents, RevealJS, Websites, Blogs, and Books.
https://quarto-webr.thecoatlessprofessor.com/
394 stars 19 forks source link

Nodejs mode #137

Open coatless opened 10 months ago

coatless commented 10 months ago

Need to incorporate NODEFS mounting code to interact with the R package cache

await webR.FS.mkdir('/data')
await webR.FS.mount('NODEFS', { root: './extra' }, '/data');

More options for sharing

https://docs.r-wasm.org/webr/latest/mounting.html

https://docs.r-wasm.org/webr/latest/packages.html#mounting-an-r-library-filesystem-image