R-alpha: R 0.50.a2 shortest segfault ...

Peter Dalgaard BSA p.dalgaard@kubism.ku.dk
06 Aug 1997 15:04:59 +0200


Kurt Hornik <hornik@ci.tuwien.ac.at> writes:

> 
> This time, it seems that
> 	browser()
> wins.  Grr ...

On a related note, other bottom-level things act strangely:

> sys.parent()
Error: failed to match environments
> sys.nframe()
Error: failed to match environments
> sys.frame(0)
Error: failed to match environments

The 1st might make sense (I'd prefer it to return NULL whenever n is
bigger than the stack height, rather than error out), but the 2nd
should return 0 and the 3rd the R_GlobalEnv as it does on any other
levels.
-- 
   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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-