xCheckParallel: Function to check whether parallel computing should be used...

Description Usage Arguments Value Note See Also Examples

View source: R/xCheckParallel.r

Description

xCheckParallel is used to check whether parallel computing should be used and how

Usage

1
xCheckParallel(multicores = NULL, verbose = TRUE)

Arguments

multicores

an integer to specify how many cores will be registered as the multicore parallel backend to the 'foreach' package. If NULL, it will use a half of cores available in a user's computer

verbose

logical to indicate whether the messages will be displayed in the screen. By default, it sets to true for display

Value

TRUE for using parallel computing; FALSE otherwise

Note

Whether parallel computation with multicores is used is system-specific. Also, it will depend on whether these two packages "foreach" and "doParallel" have been installed.

See Also

xCheckParallel

Examples

1
2
3
4
5
RData.location <- "http://galahad.well.ox.ac.uk/bigdata"
## Not run: 
xCheckParallel()

## End(Not run)

Pi documentation built on Nov. 29, 2021, 3 p.m.