![]() So, programs that use, say, windows(10,6) could be changed to quartz(width=10,height=6). The arguments in windows() default to windows(width,height), which might be different than quartz(). You can change all the windows() calls to quartz(). ![]() If you try and have information to share, please let me know. I don't know if repeated calls to dev.new() work in other editors or on other platforms. The dev.new() function is great when running in the primitive editor that comes with R, but dev.new() fails in the RStudio editor, which does not allow repeated calls of dev.new(). Note that savePlot() supersedes dev.copy2eps(), which was used in older versions of the programs.Įquivalents for windows() in other operating systems: ![]() File formats that work with savePlot() in Windows include "jpg", "pdf", "eps", etc. Use the savePlot() command after the graph is drawn, with an appropriate argument to specify the desired format. Use the windows()command to open a new graphics window.Ģ. Do this repeatedly, for a succession of graphs.ġ. I use Windows, so the info here about MacOS and Linux is what I've learned from readers, and I haven't tried it myself. Here's what I know so far - but please let me know better ways and I'll update this post.
0 Comments
Leave a Reply. |