Re: [R] Transforming a string to a variable's name? help me newbie...

2008-12-09 Thread tsunhin wong
Message- From: tsunhin wong [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2008 1:34 PM To: Greg Snow Cc: Jim Holtman; r-help@r-project.org; [EMAIL PROTECTED] Subject: Re: [R] Transforming a string to a variable's name? help me newbie... I want to combine all dataframes into one

Re: [R] Transforming a string to a variable's name? help me newbie...

2008-12-09 Thread tsunhin wong
: Jim Holtman; r-help@r-project.org; [EMAIL PROTECTED] Subject: Re: [R] Transforming a string to a variable's name? help me newbie... I want to combine all dataframes into one large list too... But each dataframe is a 35 columns x varying number of rows structure (from 2000 to 9000 rows) I have

Re: [R] Transforming a string to a variable's name? help me newbie...

2008-12-09 Thread Antonio, Fabio Di Narzo
] Transforming a string to a variable's name? help me newbie... I want to combine all dataframes into one large list too... But each dataframe is a 35 columns x varying number of rows structure (from 2000 to 9000 rows) I have ~1500 dataframes of these to process, and that add up to 1.5Gb

Re: [R] Transforming a string to a variable's name? help me newbie...

2008-12-09 Thread tsunhin wong
-help@r-project.org; [EMAIL PROTECTED] Subject: Re: [R] Transforming a string to a variable's name? help me newbie... I want to combine all dataframes into one large list too... But each dataframe is a 35 columns x varying number of rows structure (from 2000 to 9000 rows) I have ~1500

[R] Transforming a string to a variable's name? help me newbie...

2008-12-08 Thread tsunhin wong
Dear all, I'm a newbie in R. I have a 45x2x2x8 design. A dataframe stores the metadata of trials. And each trial has its own data file: I used read.table to import every trial into R as a dataframe (variable). Now I dynamically ask R to retrieve trials that fit certain selection criteria, so I

Re: [R] Transforming a string to a variable's name? help me newbie...

2008-12-08 Thread David Winsemius
On Dec 8, 2008, at 10:11 AM, tsunhin wong wrote: Dear all, I'm a newbie in R. I have a 45x2x2x8 design. A dataframe stores the metadata of trials. And each trial has its own data file: I used read.table to import every trial into R as a dataframe (variable). Now I dynamically ask R to

Re: [R] Transforming a string to a variable's name? help me newbie...

2008-12-08 Thread Jim Holtman
?get Sent from my iPhone On Dec 8, 2008, at 7:11, tsunhin wong [EMAIL PROTECTED] wrote: Dear all, I'm a newbie in R. I have a 45x2x2x8 design. A dataframe stores the metadata of trials. And each trial has its own data file: I used read.table to import every trial into R as a dataframe

Re: [R] Transforming a string to a variable's name? help me newbie...

2008-12-08 Thread Jorge Ivan Velez
Dear Tsunhin, Take a look at ?get HTH, Jorge On Mon, Dec 8, 2008 at 10:11 AM, tsunhin wong [EMAIL PROTECTED] wrote: Dear all, I'm a newbie in R. I have a 45x2x2x8 design. A dataframe stores the metadata of trials. And each trial has its own data file: I used read.table to import every

Re: [R] Transforming a string to a variable's name? help me newbie...

2008-12-08 Thread tsunhin wong
Thanks Jim and All! It works: tmptrial - trialcompute(trialextract( get(paste(t,tmptrialinfo[1,2],tmptrialinfo[1,16],.gz,sep=)) , tmptrialinfo[1,32],secs,sdm),secs,binsize) Can I use assign instead? How should it be coded then? Thanks! - John On Mon, Dec 8, 2008 at 10:40 AM, Jim Holtman

Re: [R] Transforming a string to a variable's name? help me newbie...

2008-12-08 Thread Greg Snow
] project.org] On Behalf Of tsunhin wong Sent: Monday, December 08, 2008 8:45 AM To: Jim Holtman Cc: r-help@r-project.org Subject: Re: [R] Transforming a string to a variable's name? help me newbie... Thanks Jim and All! It works: tmptrial - trialcompute(trialextract( get(paste(t,tmptrialinfo[1,2

Re: [R] Transforming a string to a variable's name? help me newbie...

2008-12-08 Thread tsunhin wong
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] project.org] On Behalf Of tsunhin wong Sent: Monday, December 08, 2008 8:45 AM To: Jim Holtman Cc: r-help@r-project.org Subject: Re: [R] Transforming a string to a variable's name? help me newbie... Thanks Jim and All

Re: [R] Transforming a string to a variable's name? help me newbie...

2008-12-08 Thread Greg Snow
] 801.408.8111 -Original Message- From: tsunhin wong [mailto:[EMAIL PROTECTED] Sent: Monday, December 08, 2008 1:34 PM To: Greg Snow Cc: Jim Holtman; r-help@r-project.org; [EMAIL PROTECTED] Subject: Re: [R] Transforming a string to a variable's name? help me newbie... I want