[Rd] parallel build for package? (equivalent of make -j8)

Peter Dalgaard p.dalgaard at biostat.ku.dk
Sun Nov 30 18:29:46 CET 2008


Whit Armstrong wrote:
> I have a package that takes about 20 minutes to compile which tends to
> prolong the compile/test/compile cycle.
> 
> Does anyone know how to get R CMD check or R CMD INSTALL to use parallel make?
> 
> I looked at R CMD INSTALL --help, but I don't see anything obvious
> arguments to do this.

Platform?

Does

MAKE="make -j8" R CMD INSTALL ...

not work?

(Beware: Here there be Tygers. Parallel makes have their surprises....)

-- 
    O__  ---- Peter Dalgaard             Øster Farimagsgade 5, Entr.B
   c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
  (*) \(*) -- University of Copenhagen   Denmark      Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)              FAX: (+45) 35327907



More information about the R-devel mailing list