Hi, I have a need to have 2 variables point to the same dataframe (d1), I 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}}
Petr PIKAL
2010-Apr-19 07:17 UTC
[R] Odp: multiple variables pointing to single dataframe?
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 understandingis that> this will create a second dataframe. Any suggestions on best practicehere?> > Thank You, > > //************************ > // Alex Bryant > // Software Developer > // Integrated Clinical Systems, Inc. > // 908-996-7208 > > > ________________________________ > Confidentiality Note: This e-mail, and any attachmentto...{{dropped:13}}> > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guidehttp://www.R-project.org/posting-guide.html> and provide commented, minimal, self-contained, reproducible code.