- The URL prefix (without slashes). Valid characters are a-z, A-Z, 0-9, hyphen, and underscore; and must begin with a-z or A-Z. For example, a value of 'foo' means that any request paths that begin with '/foo' will be mapped to the given directory.
- The directory that contains the static resources to be served.
You can call
addResourcePath multiple times for a
prefix; only the most recent value will be
retained. If the normalized
different than the directory that's currently mapped to
prefix, a warning will be issued.
addResourcePath('datasets', system.file('data', package='datasets'))