Re: [R] Referencing data frames

2009-06-15 Thread Stavros Macrakis
On Mon, Jun 15, 2009 at 12:38 PM, Payam Minoofar < payam.minoo...@meissner.com> wrote: > ...I would like to have a function acquire an object by reference, and > within the function create new objects based on the original object and then > use the name of the original object as the base for the n

Re: [R] Referencing data frames

2009-06-15 Thread Greg Snow
althcare greg.s...@imail.org 801.408.8111 > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- > project.org] On Behalf Of Payam Minoofar > Sent: Friday, June 12, 2009 4:00 PM > To: r-help@r-project.org > Subject: [R] Referencing data frames &

Re: [R] Referencing data frames

2009-06-15 Thread Wacek Kusnierczyk
Payam Minoofar wrote: > IGOR Pro has a built-in function that returns the name of an object as a > string, and I was wondering if R has a similar facility. > ?substitute ?deparse vQ __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman

Re: [R] Referencing data frames

2009-06-15 Thread Payam Minoofar
...@r- > project.org] On Behalf Of Payam Minoofar > Sent: Friday, June 12, 2009 4:00 PM > To: r-help@r-project.org > Subject: [R] Referencing data frames > > Hi, > > How do I use the string content of a string variable to reference a > data frame of the same name? I want t

Re: [R] Referencing data frames

2009-06-15 Thread Greg Snow
ar > Sent: Friday, June 12, 2009 4:00 PM > To: r-help@r-project.org > Subject: [R] Referencing data frames > > Hi, > > How do I use the string content of a string variable to reference a > data frame of the same name? I want to do the typical tasks of 1) > building a n

Re: [R] Referencing data frames

2009-06-12 Thread Steven McKinney
cular Oncology 675 West 10th Ave, Floor 4 Vancouver B.C. V5Z 1L3 Canada -Original Message- From: r-help-boun...@r-project.org on behalf of Payam Minoofar Sent: Fri 6/12/2009 3:00 PM To: r-help@r-project.org Subject: [R] Referencing data frames Hi, How do I use the string content of a s

Re: [R] Referencing data frames

2009-06-12 Thread Duncan Murdoch
On 12/06/2009 6:00 PM, Payam Minoofar wrote: Hi, How do I use the string content of a string variable to reference a data frame of the same name? I want to do the typical tasks of 1) building a name with a string variable and using the string variable to create a data frame (or any object) wh

[R] Referencing data frames

2009-06-12 Thread Payam Minoofar
Hi, How do I use the string content of a string variable to reference a data frame of the same name? I want to do the typical tasks of 1) building a name with a string variable and using the string variable to create a data frame (or any object) whose name is the string value of the variable an