Skip to content
Prev 37149 / 63424 Next

Large discrepancies in the same object being saved to .RData

On 11/07/2010 1:30 PM, Prof Brian Ripley wrote:
I've just changed the default print method for formulas to display the 
environment if it is not globalenv(), which is the rule used for 
closures as well.  So now in R-devel:

 > as.formula("y ~ x")
y ~ x

as before, but

 > as.formula("y ~ x", env=new.env())
y ~ x
<environment: 01f83400>

Duncan Murdoch