Learn R Programming

AnalysisPageServer (version 1.6.2)

getCustomContent: Functions to manage custom content other aspects of the request-specific environment

Description

Custom content are HTML rendered as additional accordion sections. From the data structure point of view these are represented as a named of list of character vectors. The names are the section headers. Use appendCustomContent to add more content.

appendCustomContent adds custom content to be rendered in separate accordion section

clearRequestEnv clears the environment associated with the last request.

Usage

getCustomContent()
appendCustomContent(sectionName, content)
clearRequestEnv()

Arguments

sectionName
Name of section (string)
content
Character vector of HTML content to append

Value

getCustomContent returns named list of character vectorsappendCustomContent does not return anything good.clearRequestEnv does not return anything useful

Examples

Run this code
appendCustomContent(sectionName = "foo", content = c("<i>bar</i><br>","<b>baz</b>"))
getCustomContent()
clearRequestEnv()

Run the code above in your browser using DataLab