library(BatchJobs)
source("helpers.R")
runTests = function(staged.queries) {
conf = BatchJobs:::getBatchJobsConf()
conf$mail.start = conf$mail.done = conf$mail.error = "none"
conf$staged.queries = staged.queries
conf$cluster.functions = makeClusterFunctionsInteractive()
doExternalTest(whitespace=FALSE)
conf$cluster.functions = makeClusterFunctionsLocal()
doExternalTest(whitespace=FALSE)
conf$cluster.functions = makeClusterFunctionsMulticore()
doExternalTest(whitespace=FALSE)
doKillTest(n=2)
conf$cluster.functions = makeClusterFunctionsSSH(
makeSSHWorker("localhost"))
doExternalTest(whitespace=FALSE)
doKillTest(n=2)
}
runTests(staged.queries=FALSE)
runTests(staged.queries=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.