Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 1.67 KB

README.md

File metadata and controls

27 lines (18 loc) · 1.67 KB

webR-quarto-demos

This is a fork of https://github.com/coatless-r-n-d/webR-quarto-demos. I moved the setup code into separate html and qmd files and then use includes in the qmd.

To make your own version:

  • Fork
  • Turn on GitHub Pages at main branch.
  • Go to your .github.io repo. Copy the files webr-serviceworker.js and webr-worker.js into them. I don't know why. But somehow the html can't find them otherwise. I am assuming you have GitHub Pages on for that repo so <yourusername>.github.io exists.
  • Your demo will now be visible at <yourusername>.github.io/webR-quarto-demos/webr-quarto.html

I tried a few ways to get the html page to find the webr-serviceworker.js and webr-worker.js files in this demo repo, but no luck. I don't know html well enough.

Example:

Acknowledgements

This is a fork of work by James J Balamuta:

The _webr-setup.qmd and webr-setup.html files are the key setup files and are all the work of James J Balamuta in this file.