Re: [R] Error: cannot allocate vector of size 1.2 Gb

2009-10-12 Thread joris meys
gards Joris ------ Forwarded message -- From: romunov Date: Mon, Oct 12, 2009 at 3:14 PM Subject: Re: [R] Error: cannot allocate vector of size 1.2 Gb To: joris meys I hope this workspace file attached is what you were looking for. Cheers, Roman On Mon, Oct 12, 2009 at 2:07 PM,

Re: [R] Error: cannot allocate vector of size 1.2 Gb

2009-10-12 Thread romunov
Hi Joris, thanks for spotting that one. This little mistake has gotten in when I was trying desperate things with the analysis (factor1 is used in diversitycomp). Nevertheless, here is the result: > poacc2 <- accumcomp(PoCom, y=PoEnv, factor="HM_sprem", method="exact") Error in if (p == 1) { : ar

Re: [R] Error: cannot allocate vector of size 1.2 Gb

2009-10-12 Thread joris meys
Hi Roman, that throws a different light on the problem. It goes wrong from the start, so it has little to do with the bootstrap or jackknife procedures. R.huge won't help you either. Likely your error comes from the fact that "factor1" is not an argument of the function accumcomp. the argument is

Re: [R] Error: cannot allocate vector of size 1.2 Gb

2009-10-12 Thread romunov
Hello joris, this is the traceback() output. Hopefully you can make some sense out of it. Thank you for the tips as well (R.huge looks promising)! > traceback() 7: vector("integer", length) 6: integer(nbins) 5: tabulate(bin, pd) 4: as.vector(data) 3: array(tabulate(bin, pd), dims, dimnames = dn)

Re: [R] Error: cannot allocate vector of size 1.2 Gb

2009-10-12 Thread joris meys
Dear Roman, could you give us the trace given by traceback() ? I suspect the error is resulting from the permutations and/or jackknife procedure in the underlying functions specaccum and specpool. You can take a look at the package R.huge, but that one is deprecated already. There are other packa

[R] Error: cannot allocate vector of size 1.2 Gb

2009-10-12 Thread romunov
Dear List, today I turn to you with a next problem. I'm trying to compare species richness between various datasets (locations) using species accumulation curves (Chapter 4, page 54 in Tree diversity analysisby Kindt & C