batch file - run web applications without opening R Studio -


i created web application using shiny package in r studio.
want open web app in browser without opening(displaying) r studio.
possible?
tried batch file rstudio opening. code batch file below;

start " " "c:\program files\rstudio\bin\rstudio" [library(shiny)] [runapp("e:\\other stuffs/r shiny learning/mywebapp")] 

i want pass
library(shiny)]
runapp("e:\other stuffs/r shiny learning/mywebapp")
command r console.

could please me.
in advance

rstudio not r. rstudio development environment r. not need rstudio run r, not need rstudio run shiny apps.

if want run r, run r.

you didn't os using, i'll take wild stab , windows. in case r can found installed - somewhere c:\program files\r\r-3.0.1\

in there should find somewhere exe called rscript.exe. run in .bat file, , r run in command window text input , output - no fancy rstudio environment. can r code in file , run instead of trying inline in batch file.

apologies vagueness, don't run windows uncertain on exact path names. search "running r on command line in windows" more.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -