[EMAIL PROTECTED] 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
: r-devel at stat.math.ethz.ch
: Subject: RE: [Rd] str() resets class for environments
:
:
: Henrik Bengtsson wrote:
:
: Should attr()-, attributes()-,
: class()- give an error when applied to an environment? I see
: no reason why
: not.
:
: It would break the workspace-organization
Gabor Grothendieck [EMAIL PROTECTED] writes:
: I am curious though, do you not run into problems by setting and getting
: attributes on environment in 'mvbutils'? The example of John Chambers I
: re-posted, which shows that attributes can (will?) get killed by operating
: on the [environment]
Peter Dalgaard p.dalgaard at biostat.ku.dk writes:
:
: Gabor Grothendieck ggrothendieck at myway.com writes:
:
: : I am curious though, do you not run into problems by setting and getting
: : attributes on environment in 'mvbutils'? The example of John Chambers I
: : re-posted, which shows
: Henrik Bengtsson:
: : I am curious though, do you not run into problems by
setting and getting
: : attributes on environment in 'mvbutils'? The example of
John Chambers I
: : re-posted, which shows that attributes can (will?) get
killed by
operating
: : on the [environment]
Mark.Bravington at csiro.au writes:
:
: : Henrik Bengtsson:
: : : I am curious though, do you not run into problems by
: setting and getting
: : : attributes on environment in 'mvbutils'? The example of
: John Chambers I
: : : re-posted, which shows that attributes can (will?) get
:
On Tue, 23 Nov 2004, Roger D. Peng wrote:
I noticed the following today --- str() seems to remove any extra class
information added to an environment.
e - new.env()
class(e)
[1] environment
class(e) - c(foo, class(e))
class(e)
[1] foo environment
str(e)
Classes 'foo', 'environment'
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Prof
Brian Ripley
Sent: Tuesday, November 23, 2004 4:22 PM
To: Roger D. Peng
Cc: R Devel
Subject: Re: [Rd] str() resets class for environments
On Tue, 23 Nov 2004, Roger D. Peng wrote:
I
Henrik Bengtsson wrote:
Should attr()-, attributes()-,
class()- give an error when applied to an environment? I see
no reason why
not.
It would break the workspace-organization code in the 'mvbutils' package, which
relies on being able to set and unset attributes of environments on the
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, November 24, 2004 1:43 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: [Rd] str() resets class for environments
Henrik Bengtsson wrote:
Should
10 matches
Mail list logo