I'm trying to export my mapview in R using built-in mapview-function called mapshot. I get this error message:
pandoc.exe: Out of memory
Error: pandoc document conversion failed with error 251
In addition: Warning message: running command 'C:/PROGRA~2/Pandoc/pandoc +RTS -K512m -RTS ...
How do I increase the Pandoc memory size permanently in R without using a Rmarkdown-file?