Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

Revision b17d866a871ca8ab0d7e6d03c7f35e05fee010aa authored by Revolution Analytics on 12 April 2012, 00:00:00 UTC, committed by Gabor Csardi on 12 April 2012, 00:00:00 UTC
version 1.0.1
1 parent 105255f
  • Files
  • Changes
  • dba23b2
  • /
  • man
  • /
  • registerDoParallel.Rd
Raw File Download

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • revision
  • directory
  • content
revision badge
swh:1:rev:b17d866a871ca8ab0d7e6d03c7f35e05fee010aa
directory badge
swh:1:dir:66ed238c979da83d9f6334cf679f5d6b8030ec93
content badge
swh:1:cnt:df3efc38e7703a0ede666eff27cb87a2e6dcf60f

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • revision
  • directory
  • content
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
registerDoParallel.Rd
\name{registerDoParallel}
\alias{registerDoParallel}
\title{registerDoParallel}
\description{
The \code{registerDoParallel} function is used to register the 
parallel backend with the \code{foreach} package.
}
\usage{
registerDoParallel(cl, cores=NULL, \dots)
}
\arguments{
  \item{cl}{A cluster object as returned by \code{makeCluster}, or the number
  of nodes to be created in the cluster. If not specified, on Windows a 
  three worker cluster is created and used.}
  \item{cores}{The number of cores to use for parallel execution. If not
  specified, the number of cores is set to the value of 
  \code{options("cores")}, if specified, or to one-half the number of cores detected
  by the \code{parallel} package.}
  \item{\dots}{Package options.  Currently, only the \code{nocompile} option
  is supported.  If \code{nocompile} is set to \code{TRUE}, compiler
  support is disabled.}
}
\details{
The \code{parallel} package from R 2.14.0 and later provides functions for parallel
execution of R code on machines with multiple cores or processors or multiple computers.
It is essentially a blend of the \code{snow} and \code{multicore} packages. By default,
the \code{doParallel} package uses \code{snow}-like functionality on Windows systems and
\code{multicore}-like functionality on Unix-like systems. The \code{snow}-like functionality
should work fine on Unix-like systems, but the \code{multicore}-like functionality is
limited to a single sequential worker on Windows systems.
On workstations with multiple cores running Unix-like operating systems, 
the system \code{fork} call is used to spawn copies of the current process. 
}
\keyword{utilities}
The diff you're trying to view is too large. Only the first 1000 changed files have been loaded.
Showing with 0 additions and 0 deletions (0 / 0 diffs computed)
swh spinner

Computing file changes ...

back to top

Software Heritage — Copyright (C) 2015–2025, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API