servePhantasus {phantasus} | R Documentation |
servePhantasus
starts http server handling phantasus static files
and opencpu server.
servePhantasus(host = "0.0.0.0", port = 8000, staticRoot = system.file("www/phantasus.js", package = "phantasus"), cacheDir = tempdir(), preloadedDir = NULL, openInBrowser = TRUE, quiet = TRUE)
host |
Host to listen. |
port |
Port to listen. |
staticRoot |
Path to static files with phantasus.js (on local file system). |
cacheDir |
Full path to cache directory. |
preloadedDir |
Full path to directory with preloaded files. |
openInBrowser |
Boolean value which states if application will be automatically loaded in default browser. |
quiet |
Boolean value which states whether the connection log should be hidden (default: TRUE) |
Running instance of phantasus application.
## Not run: servePhantasus() ## End(Not run)