quarto-webr Demo RevealJS Document


Welcome to a demo RevealJS presentation that uses the quarto-webr extension to generate interactive code cells with Quarto and webR.


This template requires a pre-release version of Quarto that is 1.4.502 or greater that contains an updated copy of pandoc. For more details, please see Issue #14.

Not the right template? Let’s go back to the documentation portal

webR in RevealJS

This is a webR-enabled code cell in a Quarto RevealJS document.

Base R Graphing with webR

ggplot2 in webR

Help Documentation

Prints, Warnings, and Errors

Keyboard Shortcuts

  • Run selected code using either:
    • macOS: + ↩︎/Return
    • Windows/Linux: Ctrl + ↩︎/Enter
  • Run the entire code by clicking the “Run code” button or pressing Shift+↩︎.

Embedded Slides

You can embed the slide deck inside of a Quarto Website or Book by using:

.slide-deck {
    border: 3px solid #dee2e6;
    width: 100%;
    height: 475px;

<iframe class="slide-deck" src="path/to/presentation/"></iframe>


Avoid using within a RevealJS presentation. Only 1 instance of webR should be running.


Thanks for checking out the demo! Let’s head back to the documentation portal.