Draft

Run code in Web Browser

R
Author

Tony Duan

Published

September 20, 2024

Using A Quarto Live to run code in Web Browser

First On YAML add format as live-html

---
format: live-html
---

for R

usning webr

Code:

```{webr}
version
```

for Python

using pyodide

Code:

```{pyodide}
import sys
print(sys.version)
```

Reference:

https://github.com/r-wasm/quarto-live