'Pandoc.exe out of memory' with leaflet publishing - R studio

Viewed 2860

I am trying to export an html and publish my interactive map, created with leaflet in R studio..

I get a variety of error messages which seem to revolve around a memory issue. The error I get is when trying to use savewidget from htmlwidgets package.

However, checking my CPU it is nowhere near being overloaded. I have 16GB of ram memory and plenty of that is free. R studio itself is consuming only around 1 GB.

I have tried using a little program called Large Address Aware to allow .exe files to use more than 2 GB but it hasn't made a difference.

Also note that when using other methods to publish such as the publish button or export as web page I get different errors such as 'Pandoc Document conversion failed with error 1'.

Any advice would be much appreciated.

0 Answers
Related