James Balamuta
@coatless.bsky.social
omnipresent explorer of the unknown, fashionably caffeinated informatics phd, amorous cavalier. design, build, analyze. #rstats on #macos + #webr and #python with #pyodide
Reposted by James Balamuta
@coatless.bsky.social also did that few months ago using another approach based on JavaScript.
"Pick your poison" 🙃
github.com/coatless-qua...
"Pick your poison" 🙃
github.com/coatless-qua...
GitHub - coatless-quarto/toggle: Toggle Code Output in Quarto Code Cells
Toggle Code Output in Quarto Code Cells. Contribute to coatless-quarto/toggle development by creating an account on GitHub.
github.com
October 10, 2025 at 4:26 PM
@coatless.bsky.social also did that few months ago using another approach based on JavaScript.
"Pick your poison" 🙃
github.com/coatless-qua...
"Pick your poison" 🙃
github.com/coatless-qua...
I did; but at the end of the day it's just eye candy for a README that I touch once every 3 years. The license section at the end of the README with "GPL (>=2)" is more than sufficient. In the end, I'm trying to pay it forward to my future self on simplifying CRAN maintenance tasks pings.
September 27, 2025 at 2:56 AM
I did; but at the end of the day it's just eye candy for a README that I touch once every 3 years. The license section at the end of the README with "GPL (>=2)" is more than sufficient. In the end, I'm trying to pay it forward to my future self on simplifying CRAN maintenance tasks pings.
Aye, I noticed the timeout persisting despite the changes. So, to get ~10 packages update; I'm just dropping all badges in the README sin the R CMD check one.
September 27, 2025 at 2:50 AM
Aye, I noticed the timeout persisting despite the changes. So, to get ~10 packages update; I'm just dropping all badges in the README sin the R CMD check one.
Ubuntu 24.04 dev preview has some AppArmor issues during development (github.com/coatless-rpk...) but the built AppImage works perfectly.
AppImage is Problematic under Dev Mode with AppArmor on Ubuntu 24.04 / 23.10 · Issue #6 · coatless-rpkg/shinyelectron
After building the electron app on Ubuntu 24.04 ARM, we're getting: Running npm run electron > My-App-Title@1.0.0 electron > electron . [77996:0908/150845.938417:FATAL:sandbox/linux/suid/client/set...
github.com
September 10, 2025 at 5:50 AM
Ubuntu 24.04 dev preview has some AppArmor issues during development (github.com/coatless-rpk...) but the built AppImage works perfectly.
{flexdashboard} will not work as that requires a genuine R shiny backend. The rest depend on capabilities of webR and what assets are included in r-shinylive.
For persistence, electron does allow writing to disk in the user directory. This isn't supported under the VFS for shinylive variant though
For persistence, electron does allow writing to disk in the user directory. This isn't supported under the VFS for shinylive variant though
September 8, 2025 at 6:25 PM
{flexdashboard} will not work as that requires a genuine R shiny backend. The rest depend on capabilities of webR and what assets are included in r-shinylive.
For persistence, electron does allow writing to disk in the user directory. This isn't supported under the VFS for shinylive variant though
For persistence, electron does allow writing to disk in the user directory. This isn't supported under the VFS for shinylive variant though
{golem} should work with some creativeness, e.g. place app.R in the package-level directory:
pkgload::load_all(export_all = FALSE, helpers = FALSE, attach_testthat = FALSE)
options( "golem.app.prod" = TRUE)
mygolemapp::run_app()
This side steps the custom WASM compile of the golem app.
pkgload::load_all(export_all = FALSE, helpers = FALSE, attach_testthat = FALSE)
options( "golem.app.prod" = TRUE)
mygolemapp::run_app()
This side steps the custom WASM compile of the golem app.
September 8, 2025 at 6:19 PM
{golem} should work with some creativeness, e.g. place app.R in the package-level directory:
pkgload::load_all(export_all = FALSE, helpers = FALSE, attach_testthat = FALSE)
options( "golem.app.prod" = TRUE)
mygolemapp::run_app()
This side steps the custom WASM compile of the golem app.
pkgload::load_all(export_all = FALSE, helpers = FALSE, attach_testthat = FALSE)
options( "golem.app.prod" = TRUE)
mygolemapp::run_app()
This side steps the custom WASM compile of the golem app.
Eh, I've tended to stay away from VMware post-broadcom acquisition. Appreciate the note though...
September 8, 2025 at 6:15 PM
Eh, I've tended to stay away from VMware post-broadcom acquisition. Appreciate the note though...
Correct, we're not embedding genuine R (like prior attempts). We're limited by webR/Shinylive capabilities. If the package compiles under webR, you're set!
As of webR v0.5.5, making HTTP requests was addressed by George. But, genuine R embedding is on the feature list.
As of webR v0.5.5, making HTTP requests was addressed by George. But, genuine R embedding is on the feature list.
September 8, 2025 at 6:14 PM
Correct, we're not embedding genuine R (like prior attempts). We're limited by webR/Shinylive capabilities. If the package compiles under webR, you're set!
As of webR v0.5.5, making HTTP requests was addressed by George. But, genuine R embedding is on the feature list.
As of webR v0.5.5, making HTTP requests was addressed by George. But, genuine R embedding is on the feature list.
Agreed. More coming soon...
September 8, 2025 at 6:11 PM
Agreed. More coming soon...
Should work out of the box on Windows 10. I only have a Windows 11 license to test with.
September 8, 2025 at 6:11 PM
Should work out of the box on Windows 10. I only have a Windows 11 license to test with.
It’s straightforward under shinylive variants at the cost of needing to be WebAssembly compliant + lowers the security risk considerably (VFS instead of FS access).
Still working on genuine embedded R. Likely possible with outsourcing installer packaging on different OS to GH actions.
Still working on genuine embedded R. Likely possible with outsourcing installer packaging on different OS to GH actions.
September 6, 2025 at 8:52 PM
It’s straightforward under shinylive variants at the cost of needing to be WebAssembly compliant + lowers the security risk considerably (VFS instead of FS access).
Still working on genuine embedded R. Likely possible with outsourcing installer packaging on different OS to GH actions.
Still working on genuine embedded R. Likely possible with outsourcing installer packaging on different OS to GH actions.
Yes, the goal is to create a standalone Shiny application that mirrors a traditional application. For now, the experimental build supports R shiny apps via `r-shinylive`. This will likely be available for PyShiny via `py-shinylive`; but, that's a ways off and maybe a Python package later ;)
September 4, 2025 at 2:27 PM
Yes, the goal is to create a standalone Shiny application that mirrors a traditional application. For now, the experimental build supports R shiny apps via `r-shinylive`. This will likely be available for PyShiny via `py-shinylive`; but, that's a ways off and maybe a Python package later ;)