[R] Very slow read.table on Linux, compared to Win2000 [Broad cast]
Alberto Murta
amurta at ipimar.pt
Thu Jun 29 20:10:42 CEST 2006
On Wednesday 28 June 2006 15:45, Patrick Connolly wrote:
> 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.
I'm using KDE 3.5.2 (a not so light one) and running R in emacs.
--
Alberto G. Murta
IPIMAR - Institute of Fisheries and Marine Research
Avenida de Brasilia; 1449-006 Lisboa; Portugal
Tel: +351 213027120; Fax: +351 213015948
More information about the R-help
mailing list