Thanks for the hint - with a little adaptation (employing
as.character) I could solve my problem:
c <- read.csv2(textConnection(as.character(dat[7,8])))
Best wishes,
Felix
Am 17.06.2008 um 12:04 schrieb jim holtman:
?textConnection
On Tue, Jun 17, 2008 at 5:08 AM, Felix Schönbrodt
<[EMAIL PROTECTED]> wrote:
Dear Listmembers,
I'm looking for a convenient way to read csv-data which are stored in
variables of data frames.
I'm working with nested csv-data: one of the columns of the first
table
stores a long string containing a second csv-coded table. My
problem is to
parse that second-order csv-table.
As the read.csv command requires a link to a file, I couldn't get
it to read
the data from a variable. I also tried to copy the content of the
variable
into the clipboard to use the read.csv(pipe("pbpaste"))-function,
but didn't
come to a solution ...
Any suggestions? Thanks!
Felix
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Jim Holtman
Cincinnati, OH
+1 513 646 9390
What is the problem you are trying to solve?
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.