source("functions.R")
for (dir in appdirs()) {
snapshotPath <- file.path(dir, "R.out.save")
if (upToDate(dir, "R.out.save"))
next
cat("Snapshotting", dir, "\n")
res <- executeApp(dir)
writeLines(res, snapshotPath)
}
invisible()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.