[Rstudio-help] launch shiny app through RStudio
Status: Beta
Brought to you by:
imyourhandiman
From: Karim M. <kme...@gm...> - 2016-12-02 00:26:29
|
Dear All, Rstudio is required to save report generated by shiny app to doc and pdf. For this reason, currently I need to start the shiny app through rstudio. I developer launcher desktop to facilitate the use of the shiny app. It works well when I use R.exe but can't set it with rstudio.exe. The structure of the folder is: /R-3.3.2/bin/R.exe /radiant.dose/inst/app/ /rstudio/bin/rstudio.exe The launcher file (run.vbs ): Randomize CreateObject("Wscript.Shell").Run "R-3.3.2\bin\R.exe CMD BATCH --vanilla --slave runShinyApp.R" & " " & RND & " ", 0, False runShinyApp.R file: .libPaths("./R-3.3.2/library") shiny::runApp("./radiant.dose/inst/app/",launch.browser=TRUE) How can I replace R.exe by rstudio.exe? Thanks Best Regards Karim |