removeDistributedFiles {affyPara} | R Documentation |
This function removes distributed files from a special path at the disk at all slaves in a computer cluster.
removeDistributedFiles(cluster, path, verbose = FALSE) removeFilesSF(path, recursive = TRUE) accessFilesSF(path, mode = 0)
cluster |
A cluster object obtained from the function makeCluster in the SNOW package. |
path |
A character that defines which path (inclusive files) should be removed at every slave. |
verbose |
A logical value. If TRUE it writes out some messages. |
recursive |
A logical value. Should directories be deleted recursively? |
mode |
A integer specifying access mode required. See file.access |
This function removes distributed files from a special path at the disk at all slaves in a computer cluster.
For using this function a computer cluster using the SNOW
package has to be started.
removeFilesSF
and accessFilesSF
are internal functions which will be executed at slaves.
removeFilesSF
path
. accessFilesSF
If verbose = TRUE
, result of removing (successfully / not successfully) will be noticed with a message.
removeFilesSF |
Returns a logical value. TRUE for success. |
accessFilesSF |
Returns 0 for success and 1 for failure. |
Markus Schmidberger schmidb@ibe.med.uni-muenchen.de, Ulrich Mansmann mansmann@ibe.med.uni-muenchen.de
## Not run: library(affyPara) c1 <- makeCluster(10) removeDistributedFiles(c1, "/usr1/tmp/CELfiles", verbose=TRUE) stopCluster(c1) ## End(Not run)