Re: [R] New Vars in Data Frame Not Visible (was: no subject)

From: Marc Schwartz <MSchwartz_at_medanalytics.com>
Date: Thu 17 Mar 2005 - 15:16:33 EST

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



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Mar 17 15:19:27 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:30:50 EST