【发布时间】:2016-10-04 23:05:03
【问题描述】:
我无法让我的图表出现在 R Studio 的“绘图”窗口中 - 一旦我运行脚本,它们就会出现在与 R Studio 分开的单独 R 图形窗口中,并且“绘图”选项卡为空白。 当我使用
dev.off()
它给出了错误
*error in dev.off(): cannot shut down device 1 (the null device)*
即使我运行此命令两次,错误仍然存在。我试过重启 Rstudio- 没用
【问题讨论】:
-
dev.list()给出 NULL -
print(plot(y,x)生成绘图但在弹出窗口中,而不是在 Rstudio 内