Re: [R] unable to get plot in R

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Wed, 04 Jun 2008 07:22:28 +0100 (BST)

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,                  ripley_at_stats.ox.ac.uk
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_at_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.
Received on Wed 04 Jun 2008 - 07:21:26 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 04 Jun 2008 - 07:30:41 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive