[R] New Vars in Data Frame Not Visible (was: no subject)
    Marc Schwartz 
    MSchwartz at MedAnalytics.com
       
    Thu Mar 17 05:16:33 CET 2005
    
    
  
On Thu, 2005-03-17 at 14:43 +1100, Simon Blomberg wrote:
> I assume "opened a data set" means that you have attached a data 
> frame. If you add new variables to the data frame (e.g. by 
> transforming a variable in that data.frame), you will have to 
> detach() and re- attach() it in order to get access to the variables 
> without using the $ operator. I think this is in the manual somewhere.
<snip>
"An Introduction To R", Section 6.3.2 "attach() and detach()",
starting on page 27 and continuing on page 28.
HTH,
Marc Schwartz
    
    
More information about the R-help
mailing list