我具有 RRE 7.4.0 在正常运行的脚本,该脚本会生成 4 直方图。当生成 histogram1 时,我可以看到它在 R 图形设备窗口中,但是然后在序列中生成的 histogram2,3 和 4,我只能看到最后一个,histogram4。看不到的方法定位,执行页涨/跌柱和查看所有 4。
有一些选项可以初始化脚本开始时此选项吗?
示例
plot.fun <- function(){ # Opens a window and starts recording
windows(record=TRUE)
op <- par(ask=TRUE)
on.exit(par(op))
# Simple set of 5 plots - you can add you plotting code here
for (i in 1:5){
plot(1:i)
}
#Stops recording.
windows.options(record=FALSE)
}
plot.fun()
一旦执行此操作时,您可以将推送 < 输入 > 或幻灯片旁边单击。一旦它们全部呈现,可以页面向上或向下导航。