Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

R Package to make Shiny Electron apps #12

Open
chasemc opened this issue Mar 3, 2019 · 4 comments
Open

R Package to make Shiny Electron apps #12

chasemc opened this issue Mar 3, 2019 · 4 comments

Comments

@chasemc
Copy link

chasemc commented Mar 3, 2019

This is more of a from-scratch project if anyone is interested (even if during the unconf I'm not 🙃). A couple of weeks ago I quickly put some very-preliminary things here: https://github.com/chasemc/electricShine

I haven't had much time recently but I think it would be cool to have an R package that makes it easy for people to make electron-apps of shiny apps, like was done in the proof-of-concept here: https://github.com/ColumbusCollaboratory/electron-quick-start
Simply put- not everyone can afford the the cost of scaling in cloud-based deployments, especially data and computation intensive apps.

Making electron apps would allow shiny-app-makers to create cross-platform apps that are easy for non-R-users to install locally.

Previous efforts include the following:
https://github.com/wleepang/DesktopDeployR
https://github.com/ficonsulting/RInno
https://github.com/ColumbusCollaboratory/electron-quick-start

@jdblischak
Copy link

@chasemc This sounds like a great idea! I'd like to help if I have time (my main focus during the unconference will be mentoring new open source contributors). Have you tried RInno? I skimmed the docs, and it appears to be an R package that facilitates running a Shiny app with Electron. Is it lacking features you'd like to have?

@chasemc
Copy link
Author

chasemc commented Mar 5, 2019

@dblischak I've actually made some contributions to RInno...

There's a few things that have made me think there needs to be a new package:

  • RInno is focused on Inno and so is kind of, at its core, for creating Windows-only apps
  • It can be complicated to use... and for my own uses I've had to customize the source code.
  • The electron part of RInno is new and still pretty much focused at Windows.
  • The way RInno was written requires the shiny app be written as the two-file ui.r and server.r setup, and handles app package dependencies through RInno- this is not ideal/not the way to create large apps (writing it as a package is).
  • Lastly, a package that take a shiny app and creates an electron app could likely be an import within RInno.

Also maybe relevant: I saw @revodavid is coming, even if it's just briefly on the side I'd love the chance to talk about the possibility of using Azure devops for shiny CI/CD, I've been messing around with it with R and electron but have to admit I'm pretty lost 😆.

@emilyriederer
Copy link
Collaborator

PLEASE do this! Also, @chasemc, I would love to pick you brain some on RInno in general. I've been thinking about trying to use it for some work apps (https://twitter.com/i/web/status/1087703980044681216) , but haven't actually dug in too much yet. The limitations you list out here are actually super helpful.

@chasemc
Copy link
Author

chasemc commented Mar 9, 2019

I've added a kanban board of initial things. Not comprehensive but hopefully is a good start
https://github.com/chasemc/electricShine/projects/1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants