File: setDoPar.Rd

package info (click to toggle)
r-cran-foreach 1.4.2-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 772 kB
  • ctags: 3
  • sloc: sh: 58; makefile: 1
file content (22 lines) | stat: -rw-r--r-- 708 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
\name{setDoPar}
\alias{setDoPar}
\title{setDoPar}
\description{
The \code{setDoPar} function is used to register a parallel backend with the
foreach package.  This isn't normally executed by the user.  Instead, packages
that provide a parallel backend provide a function named \code{registerDoPar}
that calls \code{setDoPar} using the appropriate arguments.
}
\usage{
setDoPar(fun, data=NULL, info=function(data, item) NULL)
}
\arguments{
  \item{fun}{A function that implements the functionality of \code{\%dopar\%}.}
  \item{data}{Data to passed to the registered function.}
  \item{info}{Function that retrieves information about the backend.}
}
\seealso{
  \code{\link{\%dopar\%}}
}

\keyword{utilities}