current.app {AnalysisPageServer} | R Documentation

## Return the currently running AnalysisPage app

### Description

Return the currently running AnalysisPage app. The way this is done is to first try to chase up the call stack and find the first environment which is an `AnalysisPageRApacheApp`, and return that. If that fails then it looks for `app` in the GlobalEnv and returns that. IF that also fails then it reutrns NULL.

### Usage

    current.app()

### Value

Current `AnalysisPageRApacheApp`, or NULL if it can't be found.

### Author(s)

Brad Friedman

[Package AnalysisPageServer version 1.18.1 Index]