Some years ago I wrote a plotting routine that was run on both Linux & Windows computers.
There were some differences in the way the plot looked from the windows device and the X11 device. To ensure consistency I used getOption("device")) and made some changes to the plotting if the windows device was being used. Using this routine again, years later, I now notice that getOption("device") returns a function listing, but no longer a string with the name of the device. What is the best way to query which device is the default? ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.