The R Project SVN R

Rev

Rev 68948 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 68948 Rev 73182
Line 15... Line 15...
15
  \code{mcMap}  and \code{pvec} for Windows where forking is not available.
15
  \code{mcMap}  and \code{pvec} for Windows where forking is not available.
16
}
16
}
17
\usage{
17
\usage{
18
mclapply(X, FUN, ..., mc.preschedule = TRUE, mc.set.seed = TRUE,
18
mclapply(X, FUN, ..., mc.preschedule = TRUE, mc.set.seed = TRUE,
19
         mc.silent = FALSE, mc.cores = 1L,
19
         mc.silent = FALSE, mc.cores = 1L,
20
         mc.cleanup = TRUE, mc.allow.recursive = TRUE)
20
         mc.cleanup = TRUE, mc.allow.recursive = TRUE, affinity.list = NULL)
21
 
21
 
22
mcmapply(FUN, ..., MoreArgs = NULL, SIMPLIFY = TRUE, USE.NAMES = TRUE,
22
mcmapply(FUN, ..., MoreArgs = NULL, SIMPLIFY = TRUE, USE.NAMES = TRUE,
23
        mc.preschedule = TRUE, mc.set.seed = TRUE,
23
        mc.preschedule = TRUE, mc.set.seed = TRUE,
24
        mc.silent = FALSE, mc.cores = 1L, mc.cleanup = TRUE)
24
        mc.silent = FALSE, mc.cores = 1L, mc.cleanup = TRUE, affinity.list = NULL)
25
 
25
 
26
mcMap(f, ...)
26
mcMap(f, ...)
27
 
27
 
28
pvec(v, FUN, ..., mc.set.seed = TRUE, mc.silent = FALSE,
28
pvec(v, FUN, ..., mc.set.seed = TRUE, mc.silent = FALSE,
29
     mc.cores = 1L, mc.cleanup = TRUE)
29
     mc.cores = 1L, mc.cleanup = TRUE)
Line 38... Line 38...
38
  \item{f}{the function to be applied in parallel to \code{\dots}.}
38
  \item{f}{the function to be applied in parallel to \code{\dots}.}
39
  \item{...}{For \code{mclapply} and \code{pvec}, optional arguments to
39
  \item{...}{For \code{mclapply} and \code{pvec}, optional arguments to
40
     \code{FUN}.  For \code{mcmapply} and \code{mcMap}, vector or list
40
     \code{FUN}.  For \code{mcmapply} and \code{mcMap}, vector or list
41
     inputs: see \code{\link{mapply}}.}
41
     inputs: see \code{\link{mapply}}.}
42
  \item{MoreArgs, SIMPLIFY, USE.NAMES}{see \code{\link{mapply}}.}
42
  \item{MoreArgs, SIMPLIFY, USE.NAMES}{see \code{\link{mapply}}.}
43
  \item{mc.preschedule, mc.set.seed, mc.silent, mc.cleanup, mc.allow.recursive}{
43
  \item{mc.preschedule, mc.set.seed, mc.silent, mc.cleanup, mc.allow.recursive, affinity.list}{
44
    Ignored on Windows.}
44
    Ignored on Windows.}
45
  \item{mc.cores}{The number of cores to use, i.e.\sspace{}at most how many
45
  \item{mc.cores}{The number of cores to use, i.e.\sspace{}at most how many
46
    child processes will be run simultaneously.   Must be exactly 1 on
46
    child processes will be run simultaneously.   Must be exactly 1 on
47
    Windows (which uses the master process).}
47
    Windows (which uses the master process).}
48
}
48
}