[R-SIG-Mac]large files

Jean-Pierre Gattuso gattuso2@obs-vlfr.fr
Thu, 3 Jan 2002 14:18:15 +0100


Hi:

I got some advice, on the R help list, on how to partly combine two 
files. The procedure goes well with small test files but I run into 
problems with the real files.

I use R 1.4.0 for MacOS X. The following two instructions are used:

	frame1 _ read.table("file1.txt", header=TRUE,sep=",")
	frame2 _ read.table("file2.txt", header=TRUE,sep=",")

The first one takes a long time (ca. 5-10 min. for ca 43000 lines and 
26 columns). The second one (ca. 253000 lines, 8 columns) is never 
completed even though I let it go for more than 60 min. The process 
seems to hang but I am not sure how to check that. The only way to 
quit R is to kill its process.

In your experience, is it normal that reading files takes such a long 
time? Is there a trick to get around that problem?

Thanks in advance for your help.
jp
-- 
____________________________________________________________________
Jean-Pierre Gattuso
Laboratoire d'Océanographie de Villefranche, UMR 7093 CNRS-UPMC
B. P. 28, F-06234 Villefranche-sur-mer Cedex - France
Voice: +33 (0)493763859 - Fax: +33 (0)493763834
<mailto:gattuso@obs-vlfr.fr> - http://www.obs-vlfr.fr/~gattuso