[R] unable to get plot in R
Hi everyone, I use R to plot my data set (x,y) in Windows XP, but keep getting error message like follows, >... > plot(x, y) Error in windows() : unable to start device devWindows > How can I solve this problem? Thanks for any suggestion or help. CC _ sh_skydrive_062008 [[alternative HTML version deleted]] __ 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.
Re: [R] unable to get plot in R
On 03/06/2008 6:53 PM, Chin-Cheng Su wrote: Hi everyone, I use R to plot my data set (x,y) in Windows XP, but keep getting error message like follows, ... plot(x, y) Error in windows() : unable to start device devWindows How can I solve this problem? Thanks for any suggestion or help. Somehow you appear to have set options("device") to "devWindows". If you set it to "windows" using options(device="windows"), things should be fine. Duncan Murdoch __ 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.
Re: [R] unable to get plot in R
Please look at what I tried, > attach(my.data) > options(device="windows") > plot(x,y) Error in windows() : unable to start device devWindows > However, as i tried something else, it went like > options(device="devWindows") > plot(x,y) Error in plot.new() : no active or default device > Any idea? Thanks CC > Date: Tue, 3 Jun 2008 20:25:51 -0400 > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED] > CC: r-help@r-project.org > Subject: Re: [R] unable to get plot in R > > On 03/06/2008 6:53 PM, Chin-Cheng Su wrote: > > Hi everyone, > > > > I use R to plot my data set (x,y) in Windows XP, but keep getting error > > message like follows, > > > >> ... > >> plot(x, y) > > Error in windows() : unable to start device devWindows > > > > How can I solve this problem? Thanks for any suggestion or help. > > Somehow you appear to have set options("device") to "devWindows". If > you set it to "windows" using options(device="windows"), things should > be fine. > > Duncan Murdoch _ sh_skydrive_062008 [[alternative HTML version deleted]] __ 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.
Re: [R] unable to get plot in R
On Tue, 3 Jun 2008, Duncan Murdoch wrote: On 03/06/2008 6:53 PM, Chin-Cheng Su wrote: Hi everyone, I use R to plot my data set (x,y) in Windows XP, but keep getting error message like follows, ... plot(x, y) Error in windows() : unable to start device devWindows How can I solve this problem? Thanks for any suggestion or help. Somehow you appear to have set options("device") to "devWindows". If you set it to "windows" using options(device="windows"), things should be fine. I don't think so. windows() is a family of devices, and that is what they report if GADeviceDriver fails. That would seem to mean that either allocation fails (unlikely) or GA_Open fails (which AFAICS only fails if newwindow does). We don't have the 'at a minimum' details requested in the posting guide, and this might be something to do with the locale. I'd suggest starting R in an English locale if that is not already the case (add LC_ALL=en to the target of the shortcut used to start R -- see the rw-FAQ). -- Brian D. Ripley, [EMAIL PROTECTED] Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UKFax: +44 1865 272595 __ 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.