You can read the original post in its original format on Rtask website by ThinkR here: You’ve Been Waiting for Native Mobile Apps with R? The Wait Is Over.
webR
will transform the way we build apps with R inside.If you’re unfamiliar, webR
is a WebAssembly compilation of R. In simpler terms, it enables R to run within JavaScript environments. If you are familiar, you know it’s a bit more nuanced—but let’s keep it straightforward for now.
I’m convinced that webR
will redefine how we create apps that harness the power of R. And today, we’re taking the next big step: native mobile apps.
Until now, serving mobile apps with R code has been mainly done through to {shiny}
, particularly with {shinyMobile}
. But these aren’t native mobile apps. They:
They’re essentially websites that look like mobile apps—amazing in their own right but inherently limited.
This is where webR
comes in. Over the past few weeks, we’ve been developing a mobile app that runs R. Natively, with no R server required, and working on Android and iPhone.
Note: The following screenshots are intentionally pixelated to preserve the surprise
We’ve created a game where you guess which package a function comes from. Here’s how it works:
{praise}
package rewards you with a congratulatory message.Your guesses are stored locally in SQLite, and the app features a second tab displaying a chart that visualizes your performance.
Of course, the goal of this game is not to learn by heart all R functions. Its purpose is to showcase that it’s now possible to have a native-feeling mobile app with R inside. Responsive, user-friendly, and equipped with mobile features like vibrations and offline support. Yes, you can turn your plane mode on and still use the app fully.
We’ve poured a lot into this project and are now preparing to release the app on mobile stores.
If you’d like to be notified when it’s available, fill out the form below, and we’ll email you as soon as it’s live!
This post is better presented on its original ThinkR website here: You’ve Been Waiting for Native Mobile Apps with R? The Wait Is Over.