Output multipage pdf in parallelized manner

Output multipage pdf in parallelized manner

IQRoutputPDFParallel(..., ncores = 8)

Arguments

...

Arguments going to IQRoutputFigure(). Passing with name only, except for x!

ncores

Number of cores for outputting with mclapply

Value

Nothing, called for side-effect

Author

Daniel Lill (daniel.lill@intiquan.com)

Examples

if (FALSE) { # \dontrun{
library(IQRtools)
pl1 <- IQRggplot(mtcars, aes(wt, mpg)) + geom_line()
x <- lapply(1:64, function(x) pl1)
filename <- tempfile(fileext = ".pdf")
system.time(IQRoutputPDFParallel(x = x, filename = filename, ncores = 8))
system.time(IQRoutputFigure(x = x, filename = filename))
} # }