[Rd] str() resets class for environments

Peter Dalgaard p.dalgaard at biostat.ku.dk
Fri Nov 26 09:28:51 CET 2004

<Mark.Bravington at 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

   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

More information about the R-devel mailing list