{"id":13708144,"url":"https://github.com/coatless/quarto-webr","last_synced_at":"2025-05-16T03:04:51.418Z","repository":{"id":141122396,"uuid":"612472352","full_name":"coatless/quarto-webr","owner":"coatless","description":"Community developed Quarto Extension to Embed webR for HTML Documents, RevealJS, Websites, Blogs, and Books.","archived":false,"fork":false,"pushed_at":"2024-10-14T01:27:27.000Z","size":19648,"stargazers_count":408,"open_issues_count":26,"forks_count":22,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-05-12T01:45:37.592Z","etag":null,"topics":["blog","book","html","quarto","quarto-extension","r-programming","revealjs","rstats","webassembly","webr","website"],"latest_commit_sha":null,"homepage":"https://quarto-webr.thecoatlessprofessor.com/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/coatless.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["coatless"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2023-03-11T03:29:30.000Z","updated_at":"2025-04-30T05:54:47.000Z","dependencies_parsed_at":"2024-03-25T16:28:44.039Z","dependency_job_id":"1bf3a7d5-fb2b-4ab8-b580-93e9ea5dceb7","html_url":"https://github.com/coatless/quarto-webr","commit_stats":{"total_commits":191,"total_committers":6,"mean_commits":"31.833333333333332","dds":0.2722513089005235,"last_synced_commit":"8ad65f045e718ecfd45c0e5b2ec04998dd508c0f"},"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coatless%2Fquarto-webr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coatless%2Fquarto-webr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coatless%2Fquarto-webr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coatless%2Fquarto-webr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coatless","download_url":"https://codeload.github.com/coatless/quarto-webr/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254459088,"owners_count":22074605,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blog","book","html","quarto","quarto-extension","r-programming","revealjs","rstats","webassembly","webr","website"],"created_at":"2024-08-02T22:01:57.291Z","updated_at":"2025-05-16T03:04:46.404Z","avatar_url":"https://github.com/coatless.png","language":"JavaScript","funding_links":["https://github.com/sponsors/coatless"],"categories":["Community Extensions","JavaScript"],"sub_categories":["Miscellaneous"],"readme":"# webR Extension for Quarto\n\n\u003e [!IMPORTANT]\n\u003e\n\u003e Looking for the official Quarto WebAssembly backend? Check out [`quarto-live`](https://github.com/r-wasm/quarto-live)!\n\nThis community developed Quarto extension enables the [webR](https://docs.r-wasm.org/webr/latest/) code cell within various [Quarto](https://quarto.org/) formats, including [HTML](https://quarto.org/docs/output-formats/html-basics.html), [RevealJS](https://quarto.org/docs/presentations/revealjs/), [Websites](https://quarto.org/docs/websites/), [Blogs](https://quarto.org/docs/websites/website-blog.html), and [Books](https://quarto.org/docs/books). \n\n![`quarto-webr` Filter in Action](https://i.imgur.com/JIQZIZ8.gif)\n\nTake a look at a live example of the extension in action [here](https://quarto-webr.thecoatlessprofessor.com/examples/readme)! To delve deeper into the extension's capabilities, see our comprehensive [documentation website](https://quarto-webr.thecoatlessprofessor.com/).\n\nLooking for a Python version? Check out [`quarto-pyodide`](https://github.com/coatless-quarto/pyodide)!\n\n\u003e [!NOTE]\n\u003e Please note that the `{quarto-webr}` Quarto extension is a community-driven initiative and is **not** affiliated with Posit, Quarto, or the main [webR](https://docs.r-wasm.org/webr/latest/) project. Its evolution and maintenance stem solely from the collective efforts of community members.\n\n## Background\n\nIf you're new to [webR](https://docs.r-wasm.org/webr/latest/), this cutting-edge technology empowers you to:\n\n\u003e \"run R code in the browser without the need for an R server to execute the code.\"\n\nFor a deeper understanding of [webR](https://docs.r-wasm.org/webr/latest/), explore the following resources:\n\n- [webR Documentation](https://docs.r-wasm.org/webr/latest/)\n- [webR Source Code](https://github.com/r-wasm/webr/)\n\n## Quick Start Video Guide\n\nFor those new to Quarto and Quarto Extensions, we highly recommend checking out this informative [YouTube video](https://youtu.be/DoRR2S5lLvk?t=5) to get started quickly:\n\n[![Creating your first webR-powered Quarto Document inside of RStudio](https://i3.ytimg.com/vi/DoRR2S5lLvk/maxresdefault.jpg)](https://youtu.be/DoRR2S5lLvk?t=5)\n\n## Installation \n\nTo use this extension in a [Quarto project](https://quarto.org/docs/projects/quarto-projects.html), install it from within the project's working directory by typing into **Terminal**:\n\n``` bash\nquarto add coatless/quarto-webr\n```\n\n![Demonstration of using the Terminal tab to install the extension.](https://i.imgur.com/aVuBdyN.png)\n\nAfter the installation process is finished, the extension will be readily available for Quarto documents within the designated working directory. Please note that if you are working on projects located in different directories, you will need to repeat this installation step for each of those directories.\n\n## Usage\n\nFor each document, place the `webr` filter in the document's header:\n\n```yaml\nfilters:\n  - webr\n```\n\nThen, place the R code for `webR` in a code block marked with `{webr-r}`\n\n````markdown\n---\ntitle: webR in Quarto HTML Documents\nformat: html\nengine: knitr\nfilters:\n  - webr\n---\n\nThis is a webR-enabled code cell in a Quarto HTML document.\n\n```{webr-r}\nfit = lm(mpg ~ am, data = mtcars)\n\nsummary(fit)\n```\n````\n\nThe rendered document can be viewed online [here](https://quarto-webr.thecoatlessprofessor.com/examples/readme).\n\n **Note:** If you don't specify the `engine: knitr`, the default compute engine used will be `jupyter`. This could trigger prompts to install Python. However, if you specify `engine: knitr`, there's no need to install Python.\n\nThere are many more customization options that are available. Please see the [customization documentation](https://quarto-webr.thecoatlessprofessor.com/qwebr-meta-options.html) for more examples.\n\nFor specific deployment usage cases, please see [Templates](https://quarto-webr.thecoatlessprofessor.com/qwebr-deployment-templates.html). \n\n## Help\n\nFor troubleshooting help, please see our [troubleshooting page](https://quarto-webr.thecoatlessprofessor.com/qwebr-troubleshooting.html).\n\nTo report a bug, please [add an issue](https://github.com/coatless/quarto-webr/issues/new) to the repository's [bug tracker](https://github.com/coatless/quarto-webr/issues).\n\nWant to contribute a feature? Please open an issue ticket to discuss the feature before sending a pull request. \n\n## Acknowledgements\n\nPlease see our [acknowledgements page](https://quarto-webr.thecoatlessprofessor.com/qwebr-acknowledgements.html).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoatless%2Fquarto-webr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoatless%2Fquarto-webr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoatless%2Fquarto-webr/lists"}