[r] Error in plot.new() : figure margins too large in R