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, UK                Fax:  +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.

Reply via email to