## ----setup, include = FALSE----------------------------------------------
knitr::opts_chunk$set(
eval = FALSE
)
## ------------------------------------------------------------------------
#
# library(autoparallel)
#
# autoparallel("code.R")
## ------------------------------------------------------------------------
# pcode = makeParallel("code.R"
# , clean_first = FALSE
# , run_now = FALSE
# , cluster_type = "FORK"
# , nnodes = 4
# )
#
# # visual representation of the graph structure
# plot(pcode)
#
# # Save the parallel version of the script
# save_code(pcode, "pcode.R")
#
# # Run the whole thing interactively
# run_code(pcode)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.