[R-pkg-devel] Rprintf with mclapply
Guillaume Chapron
carnivorescience at gmail.com
Thu Feb 11 16:45:40 CET 2016
Hello,
I have a R package with a compiled C executable to run simulations. Simulations can be very long so I use mclapply to launch several instances (each with a different R seed). I would need to follow the simulation progress and I used to do that with printf in the C code. But this is not allowed on CRAN and I have to use Rprintf. The problem is that with mclapply, Rprintf prints nothing in the R console! Any idea how can I fix this? Thanks!
Guillaume
More information about the R-package-devel
mailing list