Setzer.Woodrow@epamail.epa.gov
2001-Aug-29 17:14 UTC
[Rd] problem in plot(), combining log="y" with type="s" (PR#1078)
I just noticed this behavior of plot(). If you combine: log="y", with type ="s", specify ylim, AND have plotting points outside of ylim, then the R process hangs. For example: plot(1:10,seq(0.0001,1,length=10),ylim=c(0.01,1),type="s",log="y") It will also hang if the original plot() command did not specify ylim, but a subsequent lines(x,y,type="s") has data points outside the plotting limits established by plot. In Windows 98, [Esc] does not interrupt the loop, but in Irix, ^C does. I've found this in both: --please do not edit the information below-- Version: platform = i386-pc-mingw32 arch = x86 os = Win32 system = x86, Win32 status major = 1 minor = 3.0 year = 2001 month = 06 day = 22 language = R Windows 98 SE 4.10 (build 2222) A Search Path: .GlobalEnv, package:ctest, Autoloads, package:base AND --please do not edit the information below-- Version: platform = mips-sgi-irix6.5 arch = mips os = irix6.5 system = mips, irix6.5 status major = 1 minor = 3.0 year = 2001 month = 06 day = 22 language = R Search Path: .GlobalEnv, package:ctest, Autoloads, package:base R. Woodrow Setzer, Jr. Phone: (919) 541-0128 Experimental Toxicology Division Fax: (919) 541-5394 Pharmacokinetics Branch NHEERL MD-74; US EPA; RTP, NC 27711 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Paul Murrell
2001-Aug-29 20:53 UTC
[Rd] problem in plot(), combining log="y" with type="s" (PR#1078)
Hi> I just noticed this behavior of plot(). If you combine: log="y", withtype> ="s", specify ylim, AND have plotting points outside of ylim, then the R > process hangs. > For example: > > plot(1:10,seq(0.0001,1,length=10),ylim=c(0.01,1),type="s",log="y") > > It will also hang if the original plot() command did not specify ylim, but > a subsequent > lines(x,y,type="s") > has data points outside the plotting limits established by plot. > > In Windows 98, [Esc] does not interrupt the loop, but in Irix, ^C does.Thanks for the report. This is fixed in 1.3.1 (coming soon). For the record, I'm assuming this is (yet another) example of the bug that was fixed for bug#997 (bug in CSclipline) Paul -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._