[R] How to add make option to package compilation?

Martin Møller Skarbiniks Pedersen traxplayer at gmail.com
Fri Sep 15 14:11:38 CEST 2017


Hi,

  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
C/C++.

  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%.

Regards
Martin M. S. Pedersen

	[[alternative HTML version deleted]]



More information about the R-help mailing list