isLoaded | R Documentation |
Check whether a script has been loaded (with source) or not. The information
is read from a list that stores a logical value (TRUE
or FALSE
)
for each script name for which setLoaded
has been called.
isLoaded(scriptName)
scriptName |
name of the script for which to get the "loaded" state |
setLoaded
(see example there)
# For an example see kwb.utils::setLoaded()...
# In fact, the information about loaded scripts is stored in the
# R option "kwb.utils.loaded":
setLoaded("myScript")
options("kwb.utils.loaded")[[1]]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.