s-news
[Top] [All Lists]

Re: creating a data frame from a vector of character strings

To: "Schwarz,Paul" <PSchwarz@gcrinsight.com>
Subject: Re: creating a data frame from a vector of character strings
From: Patrick Burns <pburns@pburns.seanet.com>
Date: Sun, 06 Nov 2005 22:34:51 +0000
Cc: s-news@lists.biostat.wustl.edu
In-reply-to: <89C7DEAADB79564DB278694EB2417CCE56F164@CHOCOLATE.GCRInsight.com>
References: <89C7DEAADB79564DB278694EB2417CCE56F164@CHOCOLATE.GCRInsight.com>
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
If I understand correctly, you want the "get" function.


Patrick Burns
patrick@burns-stat.com
+44 (0)20 8525 0696
http://www.burns-stat.com
(home of S Poetry and "A Guide for the Unwilling S User")

Schwarz,Paul wrote:

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
--------------------------------------------------------------------
This message was distributed by s-news@lists.biostat.wustl.edu.  To
unsubscribe send e-mail to s-news-request@lists.biostat.wustl.edu with
the BODY of the message:  unsubscribe s-news





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