I had the same problem (on R2.1.0 on Win XPSP2), let me just add, in case it 
is of any help:
1) that even when the plot works in 2.1.0 it takes much longer than in 
R2.0.1
2) this is worse if plot(x,type="l") is used (17sec versus 1sec for the 
type="l" plot with a vector of length 15000)
example follows:

x=rnorm(15000)
date()
plot(x)
date()
plot(x,type="l")
date()

I obtained, in R2.1.0
> date()
[1] "Thu May 05 12:52:04 2005"
> plot(x)
> date()
[1] "Thu May 05 12:52:05 2005"
> plot(x,type="l")
> date()
[1] "Thu May 05 12:52:22 2005"

in R2.0.1
> date()
[1] "Thu May 05 12:52:58 2005"
> plot(x)
> date()
[1] "Thu May 05 12:52:59 2005"
> plot(x,type="l")
> date()
[1] "Thu May 05 12:53:00 2005"




On 5/5/05, Patrick Burns <[EMAIL PROTECTED]> wrote:
> 
> I can confirm that on my system running Windows 2000 that the
> command using R 2.1.0 hangs -- the graphics window appears but
> nothing happens subsequently. Under 2.0.0 it works okay.
> 
> Patrick Burns
> 
> Burns Statistics
> [EMAIL PROTECTED] 
> +44 (0)20 8525 0696
> http://www.burns-stat.com 
> (home of S Poetry and "A Guide for the Unwilling S User")
> 
> Errol Wayne Robinson wrote:
> 
> > The following line when pasted into an R Console window causes Windows
> > XP to flash a blue screen and then restart.
> >
> > R version 2.1.0
> >
> >> plot(x=c(1:100000),y=sin(c(1:100000)), type="l")
> >
> >
> > Windows XP SP2
> > I installed the precompiled version of R 2.1.0
> >
> > This isn't the data I was originally trying to graph, but a way to
> > reproduce the error I observed. Plotting without the sin() did not
> > reproduce the error.
> >
> > I realize this might be unique to my system, but I thought I would
> > report the problem and see if anyone else had encountered this
> > difficulty. I have also tried a variety of other plots and those
> > results are summarized below.
> >
> > Other plot() attempts:
> >
> > R version 2.0.0
> >
> >> plot(x=c(1:100),y=c(1:100), type="l")
> >> plot(x=c(1:100),y=sin(c(1:100)), type="l")
> >> plot(x=c(1:1000),y=sin(c(1:1000)), type="l")
> >> plot(x=c(1:10000),y=sin(c(1:10000)), type="l")
> >> plot(x=c(1:100000),y=sin(c(1:100000)), type="l")
> >> plot(x=c(1:1000000),y=sin(c(1:1000000)), type="l")
> >> plot(x=c(1:10000000),y=sin(c(1:10000000)), type="l")
> >
> > all plotted without problem (if you try the last one it might require
> > some patience to plot)
> >
> > R version 2.0.1
> >
> >> plot(x=c(1:100),y=c(1:100), type="l")
> >> plot(x=c(1:100),y=sin(c(1:100)), type="l")
> >> plot(x=c(1:1000),y=sin(c(1:1000)), type="l")
> >> plot(x=c(1:10000),y=sin(c(1:10000)), type="l")
> >> plot(x=c(1:100000),y=sin(c(1:100000)), type="l")
> >> plot(x=c(1:1000000),y=sin(c(1:1000000)), type="l")
> >> plot(x=c(1:10000000),y=sin(c(1:10000000)), type="l")
> >>
> > also all plotted without problem
> >
> > R version 2.1.0 (further tests)
> >
> >> plot(x=c(1:100000),y=sin(c(1:100000)), type="p")
> >
> > works
> >
> >> plot(x=c(1:1000000),y=sin(c(1:1000000)), type="p")
> >
> > works
> >
> >> plot(x=c(1:1000000),y=sin(c(1:1000000)), type="b")
> >
> > works
> >
> >> plot(x=c(1:1000000),y=sin(c(1:1000000)), type="o")
> >
> > works
> >
> >> plot(x=c(1:1000000),y=sin(c(1:1000000)), type="n")
> >> lines(x=c(1:1000000),y=sin(c(1:1000000)), type="l")
> >
> > no plotting
> >
> >> plot(x=c(1,1000000), y=c(1,-1), type="p")
> >> lines(x=c(1:1000000),y=sin(c(1:1000000)), type="l")
> >
> > crashes the computer
> >
> >> plot(x=c(1:10000),y=sin(c(1:10000)), type="l")
> >> plot(x=c(1:15000),y=sin(c(1:15000)), type="l")
> >> works
> >> plot(x=c(1:20000),y=sin(c(1:20000)), type="l")
> >
> > The screen resolution is set to a very low level.
> > The color depth has been set to a very low level.
> > windows displays an error which reads:
> > "The ati2dvag display driver has stopped working normally. Save your
> > work and reboot the system to restore full display functionality. The
> > next time you reboot the machine a dialog will be displayed giving you
> > a chance to upload data about this failure to Microsoft"
> >
> > I was convinced that I had a hardware /driver issue until I saw the
> > plots work in older versions of R. Now I don't know what to think.
> > So I'm sending out this email to see if anyone else has similar
> > problems or can suggest a solution.
> >
> > Errol Robinson
> > [EMAIL PROTECTED] 
> >
> > ______________________________________________
> > [email protected] mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-help 
> > PLEASE do read the posting guide!
> > http://www.R-project.org/posting-guide.html 
> >
> >
> >
> 
> ______________________________________________
> [email protected] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help 
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html 
>

        [[alternative HTML version deleted]]

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to