[R] funny arrows

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Wed Sep 6 14:06:16 CEST 2000


"Ritter, Christian C SRTCL-CTGAS" <Christian.C.Ritter at OPC.shell.com> writes:

> The result of 
> > plot(c(-1,1),c(-1,1),type="n")
> > arrows(0,0,1,1)
> > arrows(0,0,0,0)
> is not what I expected. The first arrow is drawn correctly. The second
> does not collapse to a point but goes from (0,0) off to
> (-infinity,infinity).
> I guess something is divided by zero in the internal function.

R-1.1.1 on Linux behaves OK (if a lonely arrowhead at (0,0) pointing
left is OK)

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



More information about the R-help mailing list