Re: [R] memory error

2010-04-06 Thread Matthew Dowle
someone else on this list may be able to give you a ballpark estimate of how much RAM this merge would require. I don't have an absolute estimate, but try data.table::merge, as it needs less working memory than base::merge. 20 million rows of 5 columns isn't beyond 32bit : (1*4 +

Re: [R] memory error

2010-04-01 Thread Sharpie
Janet Choate-2 wrote: Thanx for clarification on stating my problem, Charlie. I am attempting to merge to files, i.e.: hi39 = merge(comb[,c(hillID,geo)], hi.h39, by=c(hillID)) if this is relevant or helps to explain: the file 'comb' is 3 columns and 1127 rows the file 'hi.h39' is 5

[R] memory error

2010-03-31 Thread Janet Choate
Hi R community, i have what appears to be a memory allocation problem: R(51150) malloc: *** mmap(size=158068736) failed (error code=12) *** error: can't allocate region *** set a breakpoint in malloc_error_break to debug can anyone tell me how to increase the memory size for R on mac os X?

Re: [R] memory error

2010-03-31 Thread Sharpie
Janet Choate-2 wrote: Hi R community, i have what appears to be a memory allocation problem: R(51150) malloc: *** mmap(size=158068736) failed (error code=12) *** error: can't allocate region *** set a breakpoint in malloc_error_break to debug can anyone tell me how to increase the

Re: [R] memory error

2010-03-31 Thread Janet Choate
Thanx for clarification on stating my problem, Charlie. I am attempting to merge to files, i.e.: hi39 = merge(comb[,c(hillID,geo)], hi.h39, by=c(hillID)) if this is relevant or helps to explain: the file 'comb' is 3 columns and 1127 rows the file 'hi.h39' is 5 columns and 19758564 rows i

Re: [R] memory error in for loop

2010-03-07 Thread Uwe Ligges
Probably a bug in the RdbiPgSQL package you are using. Please ciontact its maintainer and send a reproducible example. Best, Uwe Ligges On 06.03.2010 04:08, Peter wrote: hi, I have been attempting to run this script and am getting some strange results. The script connects to a database and

Re: [R] memory error in for loop

2010-03-07 Thread Gabor Grothendieck
Try the RpgSQL package and see if you get the same problem. On Fri, Mar 5, 2010 at 10:08 PM, Peter ptittm...@gmail.com wrote: hi, I have been attempting to run this script and am getting some strange results. The script connects to a database and retrieves a series of tables, using

[R] memory error in for loop

2010-03-05 Thread Peter
hi, I have been attempting to run this script and am getting some strange results. The script connects to a database and retrieves a series of tables, using sequential sql statements. I have tested all of the sql statements in the PostGreSQL terminal and they all return the desired results.