Error: save mapview to .png

Hello, I try save a mapview in .png format and show me the following error:
v<-mapview(GFmap, zcol=c("COT"),alpha=0, col.regions =cols)
mapshot(v, file = paste0(getwd(), "/map.png"))

Error in (function (widget, file, selfcontained = TRUE, libdir = NULL,
Saving a widget with selfcontained = TRUE requires pandoc. For details see:
https://github.com/rstudio/rmarkdown/blob/master/PANDOC.md

Any suggestions please?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.