powered by
Intended to be called inside a worker process (e.g., via clusterCall()). On unsupported platforms, returns FALSE.
clusterCall()
set_affinity(cores)
A logical scalar; TRUE on success, FALSE if not supported.
TRUE
FALSE
Integer vector of 0-based CPU core ids.
affinity_supported()
Run the code above in your browser using DataLab