new.rook.analysis.page.app: new.rook.analysis.page.app

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Given an RApacheAnalysisPageServer object, return a Rook app that can run it.

Usage

1
2
3
4
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(), ...)

Arguments

app

AnalysisPageRApacheApp. Or an AnalysisPageRegistry from which to build an app

EP

ExpressionPlotClient object, if needed for your app.

front.end.location

Location relative to App base directory from which to serve front end files. Default: "/dist-aps".

front.end.dir

Path (in filesystem) to front end files. Default: system.file("htdocs", package = 'AnalysisPageServer')

app.name

The name of the app you are going to use within Rook. This is used to build the prefix /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.

app.prefix

The prefix from which the app will be served. Default: /custom/${app.name}.

tmpdir

Path to temporary directory to store files needed while the server is running. Default: tempdir().

...

If app is actually an AnalysisPageRegistry then ... is passed through along with it to rapache.app.from.registry to build the AnalysisPageRApacheApp.

Details

new.rook.analysis.page.app

Value

Your app, as a Rook App

Author(s)

Brad Friedman

See Also

startRookAnalysisPageServer, kill.process

Examples

1
message("See vignette ExamplesServers.html")

apomatix/AnalysisPageServer documentation built on May 26, 2019, 11:36 a.m.