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 ewr at berkeley.edu
Yup, it crashed my Windows 2000 laptop! In fact, so bad, I had to remove the battery to restart. My guess is that this is deep in the heart of the C code in the display libraries that 2.1.0 uses. Good luck to the R gurus in finding it. In case it's of any use, here are particulars of my computer: platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status major 2 minor 1.0 year 2005 month 04 day 18 language R More importantly, perhaps: Display adapter = ATI Radeon IGP 350M You seem to have an ati adapter and driver, also. Does this only occur with their drivers? -- Bert Gunter Genentech Non-Clinical Statistics South San Francisco, CA "The business of the statistician is to catalyze the scientific learning process." - George E. P. Box> -----Original Message----- > From: r-help-bounces at stat.math.ethz.ch > [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Errol > Wayne Robinson > Sent: Thursday, May 05, 2005 12:15 PM > To: r-help at stat.math.ethz.ch > Subject: [R] problem with plot() and R 2.1.0 > > 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 > ewr at berkeley.edu > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html >
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 patrick at burns-stat.com +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 > ewr at berkeley.edu > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html > > >