I am new to R and to Rook. I am able to successfully run Rook in a browser when I run from RTerm or from RStudio. However, when I run from RScript I get connection refused. My guess is that RScript runs my script and exits the script.
So how would I package up a R Rook application for end users that does not require starting RTerm and manually exiting after the user closes the web pages? Is there a way to handle this using HTTP 1.1 keep alive?