Re: [R] testing for emptyenv

2010-09-03 Thread Peng, C
Thanks -- View this message in context: http://r.789695.n4.nabble.com/testing-for-emptyenv-tp2432922p2525757.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-hel

Re: [R] testing for emptyenv

2010-09-03 Thread Duncan Murdoch
Peng, C wrote: Is there a complete list of these very handy and power functions in the base R? ls("package:base") will list all the objects exported from base, but it doesn't rate them to let you know which ones are handy and which ones are a waste of space. We like to think they're all use

Re: [R] testing for emptyenv

2010-09-02 Thread Peng, C
Is there a complete list of these very handy and power functions in the base R? -- View this message in context: http://r.789695.n4.nabble.com/testing-for-emptyenv-tp2432922p2525031.html Sent from the R help mailing list archive at Nabble.com. __ R-he

Re: [R] testing for emptyenv

2010-09-01 Thread Duncan Murdoch
On 01/09/2010 7:03 PM, Vadim Ogranovich wrote: Dear R-users, Is there a way to test whether a particular environment e is equal to emtyenv(), or for that sake whether two environments e1 and e2 are equal? I tried a couple of ways to compare environments, but neither seem to work: e1 <- new.e

[R] testing for emptyenv

2010-09-01 Thread Vadim Ogranovich
Dear R-users, Is there a way to test whether a particular environment e is equal to emtyenv(), or for that sake whether two environments e1 and e2 are equal? I tried a couple of ways to compare environments, but neither seem to work: > e1 <- new.env() > e2 <- new.env() > e1 == e2 Error in e1 ==