Description Usage Arguments Examples
ctools sets the default cores number to the maximum possible, this function allows the user to change the number of cores used in local-only parallel, i.e. PSOCKS clusters and FORK parallel. NOTE: Changing cores for PSOCKS, used exclusively on Windows machines, restarts the cluster, thus all exported objects are lost. Thus, it's recommended that this function be used shortly after loading the ctools package. Unix-like machines, e.g. Linux or OSX, use forking, so the core number can be changed at any time
1 2 |
cores |
the number of cores to assign, defaults to maximum number. |
1 | c.config(cores = 2) # Set cores number to 2
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.