setPackages | R Documentation |
The setPackages
function lets users manually declare packages
that R worker processes need to load before running their tasks.
setPackages(packages = c())
packages |
A character vector of package names. |
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.
The value of packages
is invisibly returned (this function is used for its side effect).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.