setPackages {doRedis}R Documentation

Manually set package names in the worker environment package list.

Description

The setPackages function lets users manually declare packages that R worker processes need to load before running their tasks.

Usage

setPackages(packages = c())

Arguments

packages

A character vector of package names.

Details

The foreach function includes a similar .packages parameter.

Defines a way to set the foreach .packages option for users without direct access to the foreach function, for example, when foreach is used inside another package.

Value

The value of packages is invisibly returned (this function is used for its side effect).


[Package doRedis version 3.0.2 Index]