我已经看到这里发布的这个错误,但我没有得到任何修复工作.我目前正在使用内置的"忠实"数据集作为r-tutor.com教程的一部分:
duration = faithful$eruptions
waiting = faithful$waiting
abline(lm(duration ~ waiting))
Error in int_abline(a = a, b = b, h = h, v = v, untf = untf, ...) :
plot.new has not been called yet
Run Code Online (Sandbox Code Playgroud)
我试过plot.new(),没有运气.我试过了
x <- (duration ~ waiting)
abline(x)
Run Code Online (Sandbox Code Playgroud)
没运气.
我试过重新启动R,没有运气.使用3.0.0 for Windows.谢谢.