Re: [R] Convert Text File Data into *.RData

From: Uwe Ligges <ligges_at_statistik.uni-dortmund.de>
Date: Tue 09 May 2006 - 17:10:16 EST

j.joshua thomas wrote:

> Dear R Users,
>
> It works fine. while i read the dataset from the text file. (refered R-data
> import -export*.pdf)
>
>

>>read.table("c:\\DataES.txt")

>
> V1 V2
> 1 ACW261 33
> 2 ACW311 7
> 3 ACW321 31
> 4 ACW342 39
> 5
> 6
> 7
> Now my question is how do i /*convert text file Data into *.RData* which i
> can use as a dataset/data.matrix whereby
> i can use it for clusplot.

I think you should assign it to a value and simply use it:

DataES <- read.table("c:\\DataES.txt")
foo(..., DataES, ...)

If you really want to generate a file in the Rdata format, see ?save.

Uwe Ligges

> Thanks in Advance,
>
> JJ
> ---
>
> --
> Lecturer J. Joshua Thomas
> KDU College Penang Campus
> Research Student,
> University Sains Malaysia
>
> [[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



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 Received on Tue May 09 17:16:18 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 09 May 2006 - 18:10:01 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.