Contribute Media
A thank you to everyone who makes this possible: Read More

Magic with WebAssembly and webR

Description

Earlier this year the initial version of webR was released and users have begun building new interactive experiences with R on the web. In this talk, I'll discuss webR's TypeScript library and what it is able to do. The library allows users to interact with the R environment directly from JavaScript, which enables manipulation tricks that seem like magic. I'll begin by describing how to move objects from R to JS and back again, and discuss the technology that makes this possible. I'll continue with more advanced manipulation, such as invoking R functions from JS and talk about why you might want to do so. Finally, I'll describe how messages are sent over webR's communication channel and explain how this enables webR to work with Shinylive.

Details

Improve this page