Error in plot.new() : figure margins too large, why error like this

hello everyone, please help me if you know it.

head(latitude)
head(longitude)
indoo <- shapefile(file.choose())
masked <- mask(x = cdd.raster, mask = indoo)
plot(masked)

before I run this code is fine, but I don't know for sure why it appears like this when running again. I have made the Plot window bigger and run the code again, but still can't. please, is there any other way to solve it, I hope someone can help, thanks.

when in position -> "plot(masked)"

error occurred:
"Error in plot.new() : figure margins too large"

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

If you have a query related to it or one of the replies, start a new topic and refer back with a link.