[R] R died on large data set

Marcelo Laia marcelolaia at gmail.com
Sat Feb 20 13:13:47 CET 2010


Hi, I am trying to run a script on R and it died before finish.

I already read the list archives, and memory help pages
(http://tinyurl.com/yaxco6w), but I am unable to solve the issue.

My Debian shows:

marcelo at laia:~$ ulimit
unlimited
marcelo at laia:~$

On system monitor (gnome) I see that R reaches 1.9 Gb, before die.

The R code is:

> ls() ## only todos.norm object are listed
[1] "todos.norm"
> dim(todos.norm)
[1] 9600   15
>
> library("cluster")
> pearson.dist <- as.dist(1-cor(t(todos.norm), method="pearson"))
Died

What I could do to solve my problem?

> sessionInfo() ## after restart R
R version 2.10.1 (2009-12-14)
i486-pc-linux-gnu

locale:
 [1] LC_CTYPE=pt_BR.UTF-8       LC_NUMERIC=C
 [3] LC_TIME=pt_BR.UTF-8        LC_COLLATE=pt_BR.UTF-8
 [5] LC_MONETARY=C              LC_MESSAGES=pt_BR.UTF-8
 [7] LC_PAPER=pt_BR.UTF-8       LC_NAME=C
 [9] LC_ADDRESS=C               LC_TELEPHONE=C
[11] LC_MEASUREMENT=pt_BR.UTF-8 LC_IDENTIFICATION=C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base
>

My system:

Linux laia 2.6.32-trunk-686 #1 SMP Sun Jan 10 06:32:16 UTC 2010 i686 GNU/Linux

Than you very much!

-- 
Marcelo Luiz de Laia
Brazil
Linux user number 487797



More information about the R-help mailing list