This function is not meant to be called directly. Instead, the
typical usages are:
# Evaluate futures in parallel on the local machine via as many forked
# processes as available to the current R process
plan(multicore)# Evaluate futures in parallel on the local machine via two forked processes
plan(multicore, workers = 2)
For the total number of cores available including the current/main
R process, see parallelly::availableCores()
.
Not all operating systems support process forking and thereby not multicore
futures. For instance, forking is not supported on Microsoft Windows.
Moreover, process forking may break some R environments such as RStudio.
Because of this, the future package disables process forking also in
such cases. See supportsMulticore()
for details.
Trying to create multicore futures on non-supported systems or when
forking is disabled will result in multicore futures falling back to
becoming sequential futures.