multicore/0000755000176000001440000000000012335627443012316 5ustar ripleyusersmulticore/NAMESPACE0000644000176000001440000000055512334617776013551 0ustar ripleyusers importFrom(parallel, mclapply, pvec, mccollect, mcparallel) export(mclapply, pvec, mcparallel) export(children, collect, exit, fork, kill, parallel, processID) importFrom(tools, SIGCHLD, SIGHUP, SIGINT, SIGKILL, SIGQUIT, SIGSTOP, SIGTERM, SIGUSR1, SIGUSR2) export(SIGCHLD, SIGHUP, SIGINT, SIGKILL, SIGQUIT, SIGSTOP, SIGTERM, SIGUSR1, SIGUSR2) multicore/R/0000755000176000001440000000000012334622053012506 5ustar ripleyusersmulticore/R/zzz.R0000644000176000001440000000116512334622003013464 0ustar ripleyusersvolatile <- new.env(TRUE, emptyenv()) detectCores <- parallel::detectCores .onLoad <- function(libname, pkgname) { cores <- detectCores() volatile$detectedCoresSuccess <- !is.na(cores) if (is.na(cores)) cores <- 2L # a fallback expecting higher-end desktop ... volatile$detectedCores <- cores } .onAttach <- function(libname, pkgname) packageStartupMessage("WARNING: multicore has been superseded and will be removed shortly") children <- parallel:::children collect <- mccollect exit <- parallel:::mcexit fork <- parallel:::mcfork kill <- parallel:::mckill parallel <- mcparallel processID <- parallel:::processID multicore/MD50000644000176000001440000000027712335627443012634 0ustar ripleyusers3ff2d08377efe61066cb1b69f72cf5c7 *DESCRIPTION b5621784581f5e644476b6eb7d9fc5b3 *NAMESPACE 533c47844c1d55dc691bfcac0706f5bf *R/zzz.R f3231bce0b8579b3e159db7523da95fa *man/multicore-package.Rd multicore/DESCRIPTION0000644000176000001440000000107412335627443014026 0ustar ripleyusersPackage: multicore Version: 0.2 Title: A stub package to ease transition to 'parallel'. Author: Simon Urbanek Maintainer: CRAN team Depends: R (>= 2.14.0) Imports: parallel, tools Description: A stub package to ease transition to 'parallel'. It imports from 'parallel' or 'tools' and re-exports most of the functionality formerly in package 'multicore'. This will be removed from CRAN during 2014. License: GPL-2 OS_type: unix Packaged: 2014-05-17 09:39:13 UTC; ripley NeedsCompilation: no Repository: CRAN Date/Publication: 2014-05-17 11:42:59 multicore/man/0000755000176000001440000000000012334621616013064 5ustar ripleyusersmulticore/man/multicore-package.Rd0000644000176000001440000000170412334621561016750 0ustar ripleyusers\name{multicore-package} \alias{multicore-package} \alias{multicore} \alias{SIGCHLD} \alias{SIGHUP} \alias{SIGINT} \alias{SIGKILL} \alias{SIGQUIT} \alias{SIGSTOP} \alias{SIGTERM} \alias{SIGUSR1} \alias{SIGUSR2} \alias{children} \alias{collect} \alias{exit} \alias{fork} \alias{kill} \alias{mclapply} \alias{mcparallel} \alias{parallel} \alias{processID} \alias{pvec} \title{ The 'multicore' Package } \description{ Package \pkg{multicore} was superseded by \pkg{parallel} in 2011. This is a transitional stub which will be removed during 2014. Most of the objects previously provided by \pkg{multicore} have been imported here from \pkg{parallel} or \pkg{tools} and exported. Objects \code{SIGALARM}, \code{SIGINFO}, \code{readChild}, \code{readChildren}, \code{selectChildren}, \code{sendChildStdin} and \code{sendMaster} are no longer available. } \examples{ ### consult the corresponding help pages in package 'parallel' } \keyword{ package }