I am new to R and trying to plot airline network graphs using Map in R. I am stuck at a point where I want to plot 4 different plots in a panel/ facet/grid. i am getting an error as follows :
Error in plot.new() : plot region too large
Sample Code till now :
get( getOption( "device" ) )()
par( mfrow = c( 2, 2 ) ) // 2 * 2 matrix intended
map("world", col="#191919", fill=TRUE, bg="#111111", lwd=0.05, xlim=xlim, ylim=ylim)
//sample map without any network lines ..
PS : This is not a duplicate post. I saw some posts with figure margins too large in R. But this is something different as per my understanding.
This is a problem linked to RStudio (see here). It occurs when the Plots pane area is smaller than the plot area.
Solutions: