[R] create a data frame with the given column names

Sam Steingold sds at gnu.org
Wed Feb 16 22:29:46 CET 2011


how do I create a data frame with the given column names
_NOT KNOWN IN ADVANCE_?
i.e., I have a vector of strings for names and I want to get an _EMPTY_
data frame with these column names.
is it at all possible?

-- 
Sam Steingold (http://sds.podval.org/) on CentOS release 5.3 (Final)
http://openvotingconsortium.org http://pmw.org.il http://memri.org
http://mideasttruth.com http://palestinefacts.org
I don't like cats! -- Come on, you just don't know how to cook them!



More information about the R-help mailing list