Рет қаралды 2,057
WebR makes it possible to run R code in the browser without the need for an R server to execute the code: the R interpreter runs directly on the user’s machine. But just running R isn't enough, you need the R packages you use every day too.
webR 0.2.0 makes many new packages available (10,324 packages - about 51% of CRAN!) and it's now possible to run Shiny apps under webR, entirely client side.
George Stagg shares how to load packages with webR, know what ones are available, and get started running Shiny apps in the web browser. There’s a demo webR Shiny app too!
00:15 Loading R packages with webR
01:50 Wasm system libraries available for use with webR
05:30 Tidyverse, tidymodels, geospatial data, and database packages available
08:00 Shiny and httpuv: running Shiny apps under webR
11:05 Example Shiny app running in the web browser
12:05 Links with where to learn more
Shiny webR demo app: shinylive.io/r...
Website: docs.r-wasm.org/
webR REPL example: webr.r-wasm.or...
Demo webR Shiny app in this video: shiny-standalo...
Source: github.com/geo...
See the overview of what's new in webR 0.2.0: • webR 0.2 Overview: R i...