[R] Odp: multiple variables pointing to single dataframe?

Petr PIKAL petr.pikal at precheza.cz
Mon Apr 19 09:17:55 CEST 2010


Hi

r-help-bounces at r-project.org napsal dne 16.04.2010 16:15:40:

> Hi,  I have a need to have 2 variables point to the same dataframe (d1), 
 I 

What does it mean to point to data frame? Seems to me that it is something 
from C+.

You can reference data frame by $ or by square brackets with as many 
variables as you want.

see

?"["

regards
Petr


> don't want to simply copy the dataframe ( d2<-d1 ) as my understanding 
is that
> this will create a second dataframe.  Any suggestions on best practice 
here?
> 
> Thank You,
> 
> //************************
> // Alex Bryant
> // Software Developer
> // Integrated Clinical Systems, Inc.
> // 908-996-7208
> 
> 
> ________________________________
> Confidentiality Note: This e-mail, and any attachment 
to...{{dropped:13}}
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide 
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list