Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

snow-internal

Internal SNOW Objects


Description

Internal functions for the snow package.

Usage

## Default S3 method:
stopCluster(cl)
## S3 method for class 'MPIcluster'
stopCluster(cl)
## S3 method for class 'spawnedMPIcluster'
stopCluster(cl)
## S3 method for class 'NWScluster'
stopCluster(cl)
defaultClusterOptions
addClusterOptions(options, new)
initDefaultClusterOptions(libname)

docall(fun, args)
slaveLoop(master)
sinkWorkerOutput(outfile)

newSOCKnode(machine = "localhost", ..., options = defaultClusterOptions, rank)
makeSOCKmaster(master = Sys.getenv("MASTER"), port = Sys.getenv("PORT"))
## S3 method for class 'SOCKnode'
closeNode(node)
## S3 method for class 'SOCKnode'
sendData(node, data)
## S3 method for class 'SOCKnode'
recvData(node)






setMPIcluster(new)
runMPIslave()
newMPInode(rank, comm)
makeMPImaster(comm)
## S3 method for class 'MPInode'
sendData(node, data)
## S3 method for class 'MPInode'
recvData(node)

closeNode(node)
## Default S3 method:
closeNode(node)
sendData(node, data)
recvData(node)

postNode(con, type, value = NULL, tag = NULL)
stopNode(n)

sendCall(con, fun, args, return = TRUE, tag = NULL)
recvResult(con)


initRNGstreamNode(stream)

splitIndices(nx, ncl)
splitList(x, ncl)
splitRows(x, ncl)
splitCols(x, ncl)

findRecvOneTag(cl, anytag)
recvOneData(cl)
recvOneResult(cl)
## S3 method for class 'MPIcluster'
recvOneData(cl)

## S3 method for class 'SOCKcluster'
recvOneData(cl)
## S3 method for class 'NWScluster'
recvOneData(cl)
getClusterOption(name, options = defaultClusterOptions)

checkCluster(cl)
checkForRemoteErrors(val)
staticClusterApply(cl, fun, n, argfun)
dynamicClusterApply(cl, fun, n, argfun)

shQuoteIfNeeded(p)

Details

These are not to be called by the user.


snow

Simple Network of Workstations

v0.4-3
GPL
Authors
Luke Tierney, A. J. Rossini, Na Li, H. Sevcikova
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.