R-studio出现Error in plot.new() : figure margins too large
''' r
set.seed(20)
x<- rnorm(100)
e<- rnorm(100,0,2)
y<- 0.5 + 2*x + e
summary(y)
plot(x,y)
'''
如上代码,window系统R-studio(Version 0.98.507)出现
Error in plot.new() : figure margins too large的错误提示。如图:
但是,在R程序上运行这段代码时,能够正常绘图: