[R] Very slow read.table on Linux, compared to Win2000 [Broad cast]

Patrick Connolly p_connolly at ihug.co.nz
Thu Jun 29 00:45:37 CEST 2006


On Wed, 28-Jun-2006 at 04:43PM -0700, Alberto Murta wrote:

|> I have a pentium 4 pc with 256 MB of RAM, so I made a text file, tab 
|> separated, with column names and 15000 x 483 integers:
|> 
|> > system("ls -l teste.txt")
|> -rw-r--r--  1 amurta  amurta  16998702 Jun 28 16:08 teste.txt
|> 
|> the time it took to import it was around 15 secs:
|> 
|> > system.time(teste <- read.delim("teste.txt"))
|> [1] 15.349  0.244 16.597  0.000  0.000
|> 
|> so I think lack of RAM must not be the main problem.
|> Cheers
|> 
|> Alberto
|> 
|> 
|> > version
|>                _
|> platform       i386-unknown-freebsd6.1
|> arch           i386
|> os             freebsd6.1
|> system         i386, freebsd6.1
|> status
|> major          2
|> minor          3.1
|> year           2006
|> month          06
|> day            01
|> svn rev        38247
|> language       R
|> version.string Version 2.3.1 (2006-06-01)

Doesn't tell us about your window manager.  I'd suspect you're using a
light one.



-- 
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.   
   ___    Patrick Connolly   
 {~._.~}          		 Great minds discuss ideas    
 _( Y )_  	  	        Middle minds discuss events 
(:_~*~_:) 	       		 Small minds discuss people  
 (_)-(_)  	                           ..... Anon
	  
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.



More information about the R-help mailing list