Nothing
local({
snowlib <- Sys.getenv("R_SNOW_LIB")
outfile <- Sys.getenv("R_SNOW_OUTFILE")
args <- commandArgs()
pos <- match("--args", args)
args <- args[-(1 : pos)]
for (a in args) {
pos <- regexpr("=", a)
name <- substr(a, 1, pos - 1)
value <- substr(a,pos + 1, nchar(a))
switch(name,
SNOWLIB = snowlib <- value,
OUT = outfile <- value)
}
if (! (snowlib %in% .libPaths()))
.libPaths(c(snowlib, .libPaths()))
library(methods) ## because Rscript as of R 2.7.0 doesn't load methods
library(Rmpi, warn.conflicts=FALSE) ## added warn.conflicts=FALSE to have a silent startup
library(snow, warn.conflicts=FALSE) ## added warn.conflicts=FALSE to have a silent startup
sinkWorkerOutput(outfile)
cat("starting MPI worker\n")
setDefaultClusterOptions(masterNode=makeMPImaster(1)) ## this depends on the hardcoding of runMPIslave() at /snow/R/mpi.R
runMPIslave()
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.