new.rook.analysis.page.app {AnalysisPageServer} | R Documentation

## new.rook.analysis.page.app

### Description

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

### Usage

    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

    message("See vignette ExamplesServers.html")

[Package AnalysisPageServer version 1.18.1 Index]