[R] How to add make option to package compilation?
murdoch.duncan at gmail.com
Fri Sep 15 14:13:55 CEST 2017
On 15/09/2017 8:11 AM, Martin Møller Skarbiniks Pedersen wrote:
> I am installing a lot of packages to a new R installation and it takes a
> long time.
> However the machine got 4 cpus and most of the packages are written in
> So is it possible to add a -j4 flag to the make command when I use the
> install.packages() function?
> That will probably speed up the package installation process 390%.
See the Ncpus argument in ?install.packages.
More information about the R-help