View source: R/include_css_js.R
run_js_files | R Documentation |
JS
file from /inst/js/
package directoryThis is triggered from the server to execute on the client
rather than triggered directly on the client.
Unlike include_js_files
which includes JavaScript
functions,
the run_js
actually executes JavaScript
functions.
run_js_files(files)
files |
( |
system.file
should not be used to access files in other packages, it does
not work with devtools
. Therefore, we redefine this method in each package
as needed. Thus, we do not export this method.
returns NULL
, invisibly.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.