R语言学习(更新ing)

遇到的问题与解决:

1、提示图片边界太大,以至于图片显示不出

> mean(Nile)
[1] 919.35
> sd(Nile)
[1] 169.2275
> hist(Nile)
Error in plot.new() : figure margins too large

解决:> win.graph(width=4.875, height=2.5,pointsize=8)
            > hist(Nile)

猜你喜欢

转载自blog.csdn.net/qq_18310041/article/details/50568940