possible to run RShiny app without opening an R environment?

后端 未结 7 1226
一个人的身影
一个人的身影 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

    I know this is a really old discussion but I have recently faced this issue and after trying a few options I found that using shinyshortcut package is the best :

    library(shinyShortcut) shinyShortcut(shinyDirectory = getwd(), OS = .Platform$OS.type, gitIgnore = FALSE)
    

提交回复
热议问题