
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: murdoch@stats.uwo.ca
> To: chincheng37@hotmail.com
> 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]]

