s-news
[Top] [All Lists]

creating a data frame from a vector of character strings

To: <s-news@lists.biostat.wustl.edu>
Subject: creating a data frame from a vector of character strings
From: "Schwarz,Paul" <PSchwarz@gcrinsight.com>
Date: Sun, 6 Nov 2005 13:45:11 -0800
Thread-index: AcXjG10bhLgT+RZzTcKnrNzAaZkyxg==
Thread-topic: creating a data frame from a vector of character strings
Hi S-News readers,

I'm looking for a way to create a data frame using a vector of character
strings returned by the objects() function. In other words, objects(pat=
"xdata.*") returns a charcter vector of the names of objects, but I
haven't figured out how to convert this character vector into the actual
objects to pass to the data.frame() function. I know it seems straight
forward but I haven't figured out how to do it.

I'd appreciate help and suggestions.

Thanks in advance.

Paul Schwarz

<Prev in Thread] Current Thread [Next in Thread>