new.rook.analysis.page.app(app, EP = NULL, front.end.location = "/dist-aps", front.end.dir = system.file("htdocs/client", package = "AnalysisPageServer"), app.name = "RAPS", app.prefix = file.path("/custom", app.name), tmpdir = tempdir(), ...)
system.file("htdocs", package = 'AnalysisPageServer')
/custom/${app.name}
from where the app will be served---the Javascript front end has to be notified of this. Ignored if app.prefix
is supplied./custom/${app.name}
.tempdir()
.app
is actually an AnalysisPageRegistry then ...
is passed through
along with it to rapache.app.from.registry
to build the AnalysisPageRApacheApp
.startRookAnalysisPageServer
, kill.process
message("See vignette ExamplesServers.html")
Run the code above in your browser using DataLab