From Setzer.Woodrow@epamail.epa.gov  Wed Aug 29 18:14:19 2001
From: Setzer.Woodrow@epamail.epa.gov (Setzer.Woodrow@epamail.epa.gov)
Date: Wed, 29 Aug 2001 19:14:19 +0200 (MET DST)
Subject: [Rd] problem in plot(), combining log="y" with type="s" (PR#1078)
Message-ID: <200108291714.TAA15580@pubhealth.ku.dk>

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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] problem in plot(), combining log="y" with type="s" (PR#1078)
Setzer.Woodrow@epamail.epa.gov