bundle | R Documentation |
Bundle a list of files into a single JavaScript file
bundle(fs)
fs |
A character vector; a list of R or JavaScript files. The R files will be transpiled to JavaScript before bundling. |
library(sketch)
js <- bundle(c(src("dom"), src("io")))
cat(paste(readLines(js), collapse = "\n"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.