From p.dalgaard@biostat.ku.dk  Sat Jun  5 19:00:53 1999
From: p.dalgaard@biostat.ku.dk (Peter Dalgaard BSA)
Date: 05 Jun 1999 20:00:53 +0200
Subject: seg fault via text() (PR#206)
In-Reply-To: P.Herkenrath@rrz.uni-koeln.de's message of "Sat, 5 Jun 1999 16:18:44 +0200 (MET DST)"
References: <199906051418.QAA24546@pubhealth.ku.dk>
Message-ID: <x21zfqmsru.fsf@blueberry.kubism.ku.dk>

P.Herkenrath@rrz.uni-koeln.de writes:

> Full_Name: Peter Herkenrath
> Version: 0.63.1
> OS: Linux
> Submission from: (NULL) (134.95.88.203)
> 
> 
> in *old* R version 0.63.1
> 
> foo <- function(...., label=NULL, .....) {
>       ....
>       plot(....)
>       text(x,y,label)
>       ....
> }
> 
> results in a segmentation fault (if label is not initialized by the caller)
> bug? 
> title() for example is resistent.

Still there in 0.64.1 and -patches. The development version has

> foo<-function(label=NULL){plot(0);text(1,0,label)}
> foo()
Error in text(xy.coords(x, y, recycle = TRUE), as.char.or.expr(labels),  : zero length "text" specified

I don't know if it is entended to move that to the patch release
sources.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk)             FAX: (+45) 35327907
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


seg fault via text() (PR#206)
Peter Dalgaard BSA