[Rd] cannot allocate vector of size in merge (PR#765)

viktorm@pdf.com viktorm@pdf.com
Fri, 15 Dec 2000 00:06:58 +0100 (MET)


Full_Name: Viktor Moravetski
Version: Version 1.2.0 (2000-12-13)
OS: Win-NT 4.0 SP5
Submission from: (NULL) (209.128.81.199)


I've started R (v.1.20) with command:
rgui --vsize 450M --nsize 40M

Then at the command prompt:
> gc()
          used (Mb) gc trigger (Mb)
Ncells  358534  9.6   41943040 1120
Vcells 3469306 26.5   58982400  450

>df <- data.frame(x=1:30000,y=2,z=3)
>merge(df,df)
Error: vector memory exhausted (limit reached?)


In S-Plus it worked fine, no problems. 
It looks like that "R" cannot merge dataframes with 
more than 30K rows. It has enough memory, so what limit 
was reached and what should I do?

Thanks.



-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._