Re: [Rd] Re-attaching a package environment drops the attributes

2007-09-18 Thread Henrik Bengtsson
On 9/18/07, Prof Brian Ripley <[EMAIL PROTECTED]> wrote: > Note that attach() has a return value, so you don't need to use > as.environment() on the name. > > Do note more carefully that the attribute you added to env _has_ 'been > dropped', so there is nothing special about package environments he

Re: [Rd] Re-attaching a package environment drops the attributes

2007-09-18 Thread Prof Brian Ripley
Note that attach() has a return value, so you don't need to use as.environment() on the name. Do note more carefully that the attribute you added to env _has_ 'been dropped', so there is nothing special about package environments here. You seem to believe that you can (re-)attach an actual envi