Learn R Programming

shiny (version 0.9.0)

singleton: Include Content Only Once

Description

Use singleton to wrap contents (tag, text, HTML, or lists) that should be included in the generated document only once, yet may appear in the document-generating code more than once. Only the first appearance of the content (in document order) will be used. Useful for custom components that have JavaScript files or stylesheets.

Usage

singleton(x)

Arguments

x
A tag, text, HTML, or list.