I am trying tmap for the first time and while making some maps on "view" mode the R graphics device pops up everytime I attempt to make an interactive plot. For instance:
library(tmap)
library(mapview)
data(World)
# just the map
tmap_mode("view")
qtm(World)
#The map gets displayed on my browser but an R empty device gets invoked as well.
#How can I avoid the R device from popping up?
However, that doesn't happen when using mapview:
mapview(World)