Description Usage Arguments Details Value Note Author(s) See Also Examples
The function set up a cluster of 'nchips' cpu's on the local host.
1 |
nchips |
is the number of cpu's on the local pc |
The use of this function is depreceted. Use makeCluster() instead. The function is here for compatibility with the version 2013.08.20 of the library.
The function returns a structure useful to establish a connection to the cluster of cpu's.
The definition and connection to the cpu cluster can be established also by using the makeCluster() native function of the parallel package.
Stefano M. Pagnotta and Michele Ceccarelli
1 2 3 4 5 6 | # to count how many cpu's are on the localhost, run
detectCores()
# we suggest to set a cluster of maximal dimension -1 to leave a cpu to control the system
aMakeCluster <- makeCluster(2)
stopCluster(aMakeCluster)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.