Skip to content
This repository has been archived by the owner on Nov 2, 2021. It is now read-only.

dirkschumacher/r-shiny-electron

Repository files navigation

R shiny and electron

This is a work in progress template for R shiny and electron integration

NOT FOR PRODUCTION

Not under development anymore. Feel free to fork it.

Quickstart

  • Clone
  • npm install
  • Download mac binaries ./get-r-mac.sh
  • Download shiny Rscript add-cran-binary-pkgs.R
  • npm start

Contribute

If you like to contribute, please take a look at the issues. It is all work in progress and early stage but ideas and code is always welcome. Ideally please make an issue before you send a larger PR.

App

The app currently starts with a loading screen while trying to start the shiny app as a seperate process. If successful, it will switch to the shiny app once it is loaded. If not successful after 3 trys and error is shown.

Loading: loading

App: app

References

  • The initial javascript template is based on the template from electron-forge
  • This project is inspired by the work of @ksasso