From sc@paracelsus.fdm.uni-freiburg.de  Mon Jul 23 11:57:59 2001
From: sc@paracelsus.fdm.uni-freiburg.de (sc@paracelsus.fdm.uni-freiburg.de)
Date: Mon, 23 Jul 2001 12:57:59 +0200 (MET DST)
Subject: [Rd] hang-up with log="x" and segments (PR#1030)
Message-ID: <200107231057.MAA19791@pubhealth.ku.dk>

I experienced the following problem with R 1.3.0 which is probably a
bug. The program hangs-up if 1.) a coordinate of segments is outside the
ploting region and 2.) the option log="x" is used.

##
## works fine
##
plot(1,1, xlim=c(0.5, 2), ylim=c(0.5, 2))
segments(0.5 , 1.2, 1, 0.6)
segments(0.25, 1.2, 1, 0.6)
segments(1   , 1.2, 1, 0.6)

##
## hang-up
##
plot(1,1, xlim=c(0.5, 2), ylim=c(0.5, 2), log="x")
segments(0.5 , 1.2, 1, 0.6)
segments(0.25, 1.2, 1, 0.6)
segments(1   , 1.2, 1, 0.6)


platform sparc-sun-solaris2.8
arch     sparc               
os       solaris2.8          
system   sparc, solaris2.8   
status                       
major    1                   
minor    3.0                 
year     2001                
month    06                  
day      22                  
language R                   

Obviously, a work-around is to ensure that segments falls within the
ploting region. 

Best regards,
-- 
Guido Schwarzer         sc@imbi.uni-freiburg.de | Phone: +49 (0)761 203 7702
German Cochrane Centre   http://www.cochrane.de | Fax:   +49 (0)761 203 7700
Institute of Medical Biometry and Medical Informatics
Stefan-Meier-Str. 26, D-79104 Freiburg       http://www.imbi.uni-freiburg.de

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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] hang-up with log="x" and segments (PR#1030)
sc@paracelsus.fdm.uni-freiburg.de