I really like littler is really great for scripting using R. But i don t how to use external graphics device a la gnuplot (for example using Octave). I m able to produce the desired graph but i have to use Sys.sleep and i don t want to do so, because i want to close it my self in an interactive way or better continue the script without closing the device.
到目前为止,这是我的法典所认为的:
#!/usr/bin/env r -t
suppressMessages(require(Cairo))
CairoX11()
plot(rnorm(1000), pch = 19)
Sys.sleep(50)
# some code without closing the graphics window
我的问题是: 你们是否知道实现这一目标的途径?
任何打字、文件、链接或代码都将受到欢迎。