possible to run RShiny app without opening an R environment?

后端 未结 7 1292
一个人的身影
一个人的身影 2021-01-30 05:45

Currently I have a R shiny app, to run it I open up RStudio and execute

setwd(\"C:/Users/Me/Desktop/R/ShinyProject2\")
library(shiny)
......
runApp()
         


        
7条回答
  •  太阳男子
    2021-01-30 06:01

    There's now a new way to use to build a truly stand-alone Shiny app exe via "Electron" and "Photon". See following links for packages/plug-ins, etc.

    • https://www.user2019.fr/static/pres/lt257916.pdf
    • https://www.youtube.com/watch?v=ARrbbviGvjc
    • Deploying R shiny app as a standalone application

    That said, RStudio's shinyapps.io or a Binder deployment is likely a better choice in accessibility and development.

提交回复
热议问题