Is this what you want to do?

> x <- "1,2,3,4
+ 5,6,7,8
+ 9,0,1,2
+ 3,4,5,6"
> read.csv(textConnection(x), header=FALSE)
  V1 V2 V3 V4
1  1  2  3  4
2  5  6  7  8
3  9  0  1  2
4  3  4  5  6



On 3/2/07, H. Paul Benton <[EMAIL PROTECTED]> wrote:
>
> Sorry just one more question,
>
> Patrick Burns wrote:
> >
> > as part of your alternative plan.  But I don't think you would
> > need to write a file and read it back in again.
> Yea So I tried to use the connection but that doesn't work. How can I
> read the object back in with read.csv, or at very least get it into a
> matrix seperated by comma?
>
> Thanks
>
> PB
>
> ______________________________________________
> R-help@stat.math.ethz.ch 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?

        [[alternative HTML version deleted]]

______________________________________________
R-help@stat.math.ethz.ch 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.

Reply via email to