Skip to content

R Packages

R Code block is using WebR which supports loading R packages that have been compiled for WebAssembly.

How to install R Package

When a package is missing it is downloaded from the default webR binary package repository. But be aware that you can use only the R packages already compiled for WebAssembly:

library(plotly)

For a fully working example see R and Plotly.
For more details please see WebR - Installing R Packages.