webR 0.2: Updates to webR's developer API | George Stagg | Posit

  Рет қаралды 1,574

Posit PBC

Posit PBC

7 ай бұрын

More from George Stagg on what’s new in the webR 0.2 release series, this time on webR’s developer API. If you’re a JavaScript or TypeScript developer, give webR a try and see what you might use it for!
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.
It is possible to work entirely within webR and the R graphics devices, but you might also want to integrate webR into external JavaScript or TypeScript frameworks, including visualization packages. Learn about how to do this and more with webR’s developer API, including plotting data from webR using Observable JS, recent performance improvements, better error handling, worker event messages, and neatly terminating a webR session.
00:15 Performance improvements working with JavaScript
02:50 Example: Plotting data from webR using Observable JS
04:35 Type predicate functions and type conversion
07:30 Handling errors with webRError
09:15 Event messages from webr::canvas()
10:25 Safely handling webR termination
12:30 Links to documentation and resources
Website and developer documentation: docs.r-wasm.org/
Examples of using webR with Observable JS:
- Loading webR and R data manipulation: observablehq.com/d/6936259b89...
- Bitmap plotting and custom fonts: observablehq.com/d/32e2b7e465...

Пікірлер: 1
@abdelkaioumbouaicha
@abdelkaioumbouaicha 7 ай бұрын
📝 Summary of Key Points: 📌 The video discusses updates to the web developer API in web 020, focusing on performance improvements and new features. 🧐 The speaker explains how to integrate webAR with other JavaScript frameworks and demonstrates a workflow example. 🚀 APIs are highlighted as a way to transfer data between JavaScript and R, emphasizing efficiency and performance. 🚀 Changes for TypeScript users include the introduction of type predicate functions to handle different types of objects. 🚀 Improvements in error handling, messaging system for the canvas device, and termination of webAR sessions are discussed. 🚀 Viewers are encouraged to explore the webAR API documentation for more details and share their experiences and features with webAR. 💡 Additional Insights and Observations: 💬 "Efficiency and performance are crucial when working with webAR." 📊 No specific data or statistics were mentioned in the video. 🌐 References to the webAR API documentation were made, indicating a reliable source of information. 📣 Concluding Remarks: The video provides an overview of the updates to the web developer API in web 020, focusing on performance improvements and new features. It discusses the integration of webAR with other JavaScript frameworks, the use of APIs to transfer data between JavaScript and R, and changes for TypeScript users. The speaker also highlights improvements in error handling, messaging system, and termination of webAR sessions. Viewers are encouraged to explore the webAR API documentation for more details and share their experiences with webAR. Generated using Talkbud (Browser Extension)
webR 0.2 Overview: R in the browser | George Stagg | Posit
16:22
Must-have gadget for every toilet! 🤩 #gadget
00:27
GiGaZoom
Рет қаралды 12 МЛН
버블티로 체감되는 요즘 물가
00:16
진영민yeongmin
Рет қаралды 106 МЛН
Получилось у Вики?😂 #хабибка
00:14
ХАБИБ
Рет қаралды 7 МЛН
HTML and CSS for R Users - posit::conf(2023)
17:22
Posit PBC
Рет қаралды 1,2 М.
Why You Should Use Pydantic in 2024 | Tutorial
13:56
ArjanCodes
Рет қаралды 63 М.
What's new in the tidyverse? by Professor Mine Çetinkaya-Rundel
1:03:55
Statistical Society of Australia
Рет қаралды 5 М.
Loops using R programming
13:37
R Programming 101
Рет қаралды 11 М.
Magic with WebAssembly and webR - posit::conf(2023)
19:23
Posit PBC
Рет қаралды 1,1 М.
Эмоции💫 | Тгк: D1ashenka✨
0:22
D1ashenka
Рет қаралды 5 МЛН
I Almost Crushed The Poor Cockroach😵🥲🥺
0:20
Giggle Jiggle
Рет қаралды 11 МЛН
Не трогайте эту ВОЛОСАТУЮ ШТУКУ! 😱
0:24
Взрывная История
Рет қаралды 3 МЛН
Сын вернулся с войны и сделал сюрприз 🤯
0:17
Фильмы I Сериалы
Рет қаралды 987 М.