[R] dev.new() throws error from command line

2016-03-19 Thread Michael Ashton
I am running in Windows 8. I noticed this particular problem running a script in R 2.9.2 from the command line. I have an r script that I wrote some time ago. It is fairly complicated and does a lot of time-consuming optimizations, following which it populates a SQL database with the results. T

Re: [R] dev.new() throws error from command line

2016-03-19 Thread Bert Gunter
1. This is just a semi-educated guess on my part -- hopefully you'll get a better response from someone else. But consider: 2. Read carefully the "dev.new" section of ?dev. My guess on that basis is that the default given by getOption("device") is set in your R window, but not in a command line sc