Hi all,
it is possible to host Shiny apps on Windows via a background process. This is however unsupported / unofficial. with this in mind:
create a Scheduled Task in Windows, schedule it to run every hour and link to this R Script:
require(shiny)
folder_address = 'H:/path to app'
x <- system("ipconfig", intern=TRUE)
z <- x[grep("IPv4", x)]
ip <- gsub(".*? ([[:digit:]])", "\\1", z)
print(paste0("the Shiny Web application runs on: http://", ip, ":1234/"))
runApp(folder_address, launch.browser=FALSE, port = 1234, host = ip)
you also need to open the port (in the example below 1234) in the local firewall for TCP/IP in and out.
Best
Calin