Re: [Rd] str() resets class for environments

From: Peter Dalgaard <p.dalgaard_at_biostat.ku.dk>
Date: Fri 26 Nov 2004 - 19:28:51 EST

<Mark.Bravington@csiro.au> writes:

> If environments were wrapped, would it still be possible to change
> the attributes of e.g. pos.to.env (5), as opposed to the attributes
> of a copy? That's the feature I'm keen to retain. For example:

Offhand: Yes, if things are arranged so that you set attributes on the elements of the search path rather than on the environments "themselves". This could also be useful if we were to ever make an effort to bring the semantics of detach() in line with its documentation...

-- 
   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@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Fri Nov 26 19:37:37 2004

This archive was generated by hypermail 2.1.8 : Fri 26 Nov 2004 - 21:12:03 EST