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 analysis<http://www.worldagroforestry.org/treesandmarkets/tree_diversity_analysis.asp>by Kindt & Coe). To accomplish this I'm using package BiodiversityR. My data is comprised of species community (PoCom) (10 locations with 83 species) and environmental factors (PoEnv) (10 locations with 17 factors). In attempt to calculate the function (accumcomp) I receive the following error. I can not imagine how a 10x83+10x17 matrix can grow to a GB or more. Unless I'm missing something? How can I combat this?
> poacc2 <- accumcomp(PoCom, y=PoEnv, factor1="HM_sprem", method="exact") Error: cannot allocate vector of size 1.2 Gb In addition: Warning messages: 1: In vector("integer", length) : Reached total allocation of 1023Mb: see help(memory.size) 2: In vector("integer", length) : Reached total allocation of 1023Mb: see help(memory.size) 3: In vector("integer", length) : Reached total allocation of 1023Mb: see help(memory.size) 4: In vector("integer", length) : Reached total allocation of 1023Mb: see help(memory.size) Cheers, Roman [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.