#!/usr/bin/env Rscript
# Command line arguments can be read with commandArgs.
#
# Usage:
#
# ./script.R ex1 ex2 ex3
#
args <- commandArgs(trailingOnly = TRUE)
for (i in seq_along(args)) {
cat(sprintf("Argument %d: %s", i, args[i]), sep = "\n")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.