rmarkdown::render() in a loop - cannot allocate vector of size

前端 未结 1 926
孤独总比滥情好
孤独总比滥情好 2020-12-16 21:19

I have a bunch of directories with Rmd files to be compiled into HTML. Each call to rmarkdown::render includes a large list of params. Everything w

相关标签:
1条回答
  • 2020-12-16 21:59

    After digging around in rmarkdown::render code for a while I've found a solution.

    Adding knitr::knit_meta(class=NULL, clean = TRUE) before rmarkdown::render(input=file, etc) seems to do the trick..

    0 讨论(0)
提交回复
热议问题