Learn R Programming

parallelMap (version 1.0-83)

parallelLibrary: Load packages for parallelization.

Description

Makes sure that case of socket, mpi and BatchJobs mode, the package is loaded in the slave processes. For all modes the package is also (potentially) loaded on the master. Note that loading the package on the master is (obviously) required for having it available in the slave operation for modes local and multicore.

Usage

parallelLibrary(..., packages, level = as.character(NA),
    master = TRUE)

Arguments

...
[character(1)] Names of packages to load.
packages
[character(1)] Names of packages to load. Alternative way to pass arguments.
level
[character(1)] The function only loads the packages if the same level is specified in parallelStart or this argument is NA. See
master
[logical(1)] Load packages also on master? If you set this to FALSE, nothing actually happens for modes local and multicore. Default is TRUE.

Value

  • Nothing.