[Rd] One step way to create data frame with variable variable names?

2011-11-11 Thread Paul Johnson
Suppose plotx - someName modx - otherName plotxRange - c(10,20) modxVals - c(1,2,3) It often happens I want to create a dataframe or object with plotx or modx as the variable names. But can't understand syntax to do that. I can get this done in 2 steps, creating the data frame and then

Re: [Rd] One step way to create data frame with variable variable names?

2011-11-11 Thread Gabor Grothendieck
On Fri, Nov 11, 2011 at 10:25 AM, Paul Johnson pauljoh...@gmail.com wrote: Suppose plotx - someName modx - otherName plotxRange - c(10,20) modxVals - c(1,2,3) It often happens I want to create a dataframe or object with plotx or modx as the variable names.  But can't understand syntax to

Re: [Rd] One step way to create data frame with variable variable names?

2011-11-11 Thread William Dunlap
Dunlap Spotfire, TIBCO Software wdunlap tibco.com -Original Message- From: r-devel-boun...@r-project.org [mailto:r-devel-boun...@r-project.org] On Behalf Of Paul Johnson Sent: Friday, November 11, 2011 7:25 AM To: R Devel List Subject: [Rd] One step way to create data frame