[Rd] Changes to environments in R-devel

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: Fri 04 Nov 2005 - 00:55:42 GMT


I've just committed some changes to R-devel which affect environments. Specifically:

> f <- function(x) 1
> environment(f) <- NULL

Warning message:
use of NULL environment is deprecated
> environment(f)

<environment: base>

There may be some places where I've missed putting the conversion in place, and use of NULL will cause an error; please let me know if you find any of those. The intention is that NULL will be usable with warnings through to the end of the 2.3.x releases.

Duncan Murdoch



R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Fri Nov 04 11:59:32 2005

This archive was generated by hypermail 2.1.8 : Mon 20 Feb 2006 - 03:21:33 GMT