seg fault via text() (PR#206)

Peter Dalgaard BSA p.dalgaard@biostat.ku.dk
05 Jun 1999 20:00:53 +0200


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