I was trying to make a simple bar-graph in R and I am getting the ‘Error in plot.new() : figure margins too large in R’ error. Then, I tried other plots but the same error appeared. Can someone help me with this?

# Error in plot.new() : figure margins too large in R

**ajay_ohri**#2

are you using RStudio or R console. try and maximize the Graph Window area

and you can use this

par(mar=c(1,1,1,1))