https://zenodo.org/account/settings/github/repository/sbalci/clinicopathological
See:
https://sbalci.github.io/histopathology-template/
npm config set python /usr/bin/python3
https://www.npmjs.com/package/node-gyp
- Read this post
- Clone this repository R Shiny Electron (RSE) template
- install Electron
npm install -g electron
- install Electron Forge
npm install -g electron-forge
- open folder with terminal
cd r-shiny-electron-master
- npm install
npm install
- install local R
update R version in get-r-mac.sh
file
./get-r-mac.sh
- install packages
Rscript add-cran-binary-pkgs.R
- run app
npm start
- make package
electron-forge package
- make portable app
electron-forge make
This is a work in progress template for R shiny and electron integration
NOT FOR PRODUCTION
- Clone
npm install
- Download mac binaries
./get-r-mac.sh
- Download shiny
Rscript add-cran-binary-pkgs.R
npm start
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.
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.
- 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)