Currently:
polmineR is throttled to use 2 cores as required by CRAN Repository Policy. To get full performance:
- Use
n_cores <- parallel::detectCores() to detect the number of cores available on your machine
- Set number of cores using
options('polmineR.cores' = n_cores - 1) and data.table::setDTthreads(n_cores - 1)
Better:
data.table 1.14.8 using 2 threads (see ?getDTthreads). Latest news: r-datatable.com