Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dirkschumacher/r-shiny-electron

WIP: Electron and R shiny
https://github.com/dirkschumacher/r-shiny-electron

Last synced: about 1 month ago
JSON representation

WIP: Electron and R shiny

Awesome Lists containing this project

README

        

# 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](docs/screenshot-loading.png)

App:
![app](docs/screenshot-app.png)

## References

* The initial javascript template is based on the template from `electron-forge`
* This project is inspired by the work of [@ksasso](https://github.com/ksasso/useR_electron_meet_shiny)