-
-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Q&A]: Will quarto html parameter 'embed-resources' include js-files needed to run webR-extension chunks when using channel type "automatic"? #62
Comments
Regarding the first question, I do not believe that we'll see the For the second question, could you clarify a bit more what you mean? Is it reflecting persistent storage of input values or? |
Here is some clarification for the second question: if a "build time" chunk embeds a blob of data in the HTML document using data URIs, could a "run time" webr-r chunk read this data? Here is an illustration (.qmd and .html in a zip) and more attempts at clarification. The .qmd in a gist: https://gist.github.com/mskyttner/2b5f01180a91f1cfd3117ed19497c332 Screenshot: |
For the equation render issue, this is because the document YAML uses the Regarding including embedded document data, the |
I'm going to close out the question as being answered. If you end up writing the raw code cell, feel free to let me know! I would suggest at this point creating a repository that contains the data sets, c.f. https://github.com/coatless/raw-data Enable the "GitHub Pages" option with default settings so that each data set is available at a URL like:
Then, using the ```{webr-r}
df = read.csv("https://coatless.github.io/raw-data/pima.csv")
``` |
With #168, you can use |
What's your question?
I read here about 'embed-resources' not always being able to include .js-files. Often my goal is to have a standalone .html rendered from quarto, that can be sent as one file to recipients or web servers / buckets. To understand whether the extension works seemlessly with the 'embed-resources' flag is my goal / reason for asking the question.
I also wonder if there is a way to have regular chunks write data that webR chunks can read over http(s) ie pastebin style data access... what would be a good pattern/strategy without installing too many webR packages?
The text was updated successfully, but these errors were encountered: