addResourcePath

0th

Percentile

Resource Publishing

Adds a directory of static resources to Shiny's web server, with the given path prefix. Primarily intended for package authors to make supporting JavaScript/CSS files available to their components.

Usage
addResourcePath(prefix, directoryPath)
Details

You can call addResourcePath multiple times for a given prefix; only the most recent value will be retained. If the normalized directoryPath is different than the directory that's currently mapped to the prefix, a warning will be issued.

See Also

singleton

Aliases
Examples
addResourcePath('datasets', system.file('data', package='datasets'))
Documentation reproduced from package shiny, version 0.9.1, License: GPL-3

Community examples

Looks like there are no examples yet.