[R] reading "special" text files

From: Jan Wiener <jan.wiener_at_tuebingen.mpg.de>
Date: Wed 24 Aug 2005 - 18:48:31 EST


hello,

assume you have a txt-file (sep="\t" or "") looking as follows that you want to read into a variable:

1	1	2			3
2	1	2	3		4
3	1	5	6	7	8

the result should look like this (e.g., in a data.frame):

1	1	2	3
2	1	2	3	4
3	1	5	6	7	8

is there any way to do so?

thanks in advance,
jan



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 Wed Aug 24 19:54:39 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:39:55 EST