Package developers should call this function in their packages'
base::.onLoad(). This enables the user to query available levels and bind
parallelization to specific levels. This is especially helpful for nested
parallelMap(), e.g. where the inner call should be parallelized
instead of the outer one.
To avoid name clashes, we encourage developers to always specify the argument
package. This will prefix the specified levels with the string containing
the package name, e.g.
parallelRegisterLevels(package="foo", levels="dummy") will register the level “foo.dummy” and users can
start parallelization for this level with
parallelStart(<backend>, level = "parallelMap.dummy"). If you do not provide
package, the level names will
be associated with category “custom” and can there be later referred
to with “custom.dummy”.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.