Try increasing the memory for pandoc via knitr YAML options: -- title: "TITLE" output: html_document: pandoc_args: [ "+RTS", "-K64m", "-RTS" ] ---
ref: http://stackoverflow.com/a/28015894/1457051 you can bump up those #'s IIRC, too, if they don't work at first. On Thu, Aug 27, 2015 at 1:55 PM, Conklin, Mike (GfK) <mike.conk...@gfk.com> wrote: > I have successfully done this many times using RStudio's rmarkdown > capabilities and knitting the document to HTML or Word. However, I am running > into this error today. > > "C:/Program Files/RStudio/bin/pandoc/pandoc" FusionTestsAugust25.utf8.md --to > docx --from > markdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash-implicit_figures > --output FusionTestsAugust25.docx --highlight-style tango > pandoc.exe: getMBlocks: VirtualAlloc MEM_COMMIT failed > Error: pandoc document conversion failed with error 1 > > Same error occurs whether to knitting to Word or to HTML. It looks like the > a memory issue but this whole process is of limited use if the entire > analysis runs but the document can't be output. If anyone has any ideas on > how to deal with memory issues in the final step of pandoc conversion or can > point me to where to look for this I would appreciate it. > > Best regards, > > Mike > > > -- > W. Michael Conklin > Executive Vice President > Marketing & Data Sciences - North America > GfK | 8401 Golden Valley Road | Minneapolis | MN | 55427 > mike.conk...@gfk.com > T +1 763 417 4545 | M +1 612 567 8287 > www.gfk.com > > ______________________________________________ > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.