I am trying to plot in RStudio but gives error : Error in plot.new() : figure margins too large.
The code is below:
par(mfrow=c(3,3))
for(i in 2:19){
plot(dataset[,i],
dataset$price,
main=names(dataset[i]),
ylab=names(dataset$price),
xlab="", col='indianred4')
}
Please help me how to fix this?
Z3tt
June 29, 2020, 9:58pm
2
As far as I know this often happens when the viewer pane (by default on the lower right in Rstudio) is too small. Resize it, try again and see if this helps.
Btw, this is not a ggplot but a base plot.
system
Closed
July 20, 2020, 10:07pm
3
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.