Re: [R] memory problem; Error: cannot allocate vector of size 915.5 Mb

2011-08-01 Thread David Winsemius
On Aug 1, 2011, at 3:04 AM, Dimitris.Kapetanakis wrote: Thanks a lot for the help. Actually, I am using a mac which (R for Mac OS X GUI 1.40-devel Leopard build 32-bit (5751)) but I think I can find access on windows 7 64- bit. I don't think that was what Holtman was advising. You just ne

Re: [R] memory problem; Error: cannot allocate vector of size 915.5 Mb

2011-08-01 Thread Dimitris.Kapetanakis
Thanks a lot for the help. Actually, I am using a mac which (R for Mac OS X GUI 1.40-devel Leopard build 32-bit (5751)) but I think I can find access on windows 7 64-bit. What I am trying to do is a maximization through grid search (because I am not sure that any of the optim() methods works suff

Re: [R] memory problem; Error: cannot allocate vector of size 915.5 Mb

2011-07-31 Thread jim holtman
My advice to you is to get a 64-bit version of R. Here is what it does on my 64-bit Windows 7 version: > N<-250 > x<-matrix(c(rnorm(N,-1.5,1), rnorm(N,1,1), rbinom(N,1,0.5)), ncol=3) > my.stats(1) 1 (1) - Rgui : 22:30:20 <0.7 78.6> 78.6 : 20.5MB > start<-(-1) > end<-3 > step<-10^(-2) > n.steps<-(

[R] memory problem; Error: cannot allocate vector of size 915.5 Mb

2011-07-31 Thread Dimitris.Kapetanakis
Dear all, I am trying to make some matrix operations (whose size I think is smaller than what R allows) but the operations are not feasible when they run in one session but it is feasible if they run separately while each operation is totally independent of the other. I run the code in one session