use serialised rprof output to avoid knitr profiling
Merge commit '6b425f7c1cd9ff3335e3f419d9c1e883a20fcbda'