Learn R Programming

dnet (version 1.1.7)

dCheckParallel: Function to check whether parallel computing should be used and how

Description

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

Usage

dCheckParallel(multicores = NULL, verbose = T)

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

See Also

dRWR, dRWRcontact, dRWRpipeline, dDAGtermSim, dDAGgeneSim

Examples

Run this code
# NOT RUN {
#dCheckParallel(multicores=2)
# }

Run the code above in your browser using DataLab