Skip to content

error of betadiver in vegan

4 messages · Elaine Kuo, Jari Oksanen, David Winsemius

#
Elaine Kuo <elaine.kuo.tw <at> gmail.com> writes:
...snip...
Elaine,

Look carefully what you do here: betadiver needs data as input -- not beta
diversities. Your last command is equal to this oneliner:

d <- betadiver(betadiver(dataR), "sim")

This is guaranteed to fail. Use instead

d <- betadiver(dataR, "sim")

Cheers, Jari Oksanen
#
On Jul 12, 2013, at 1:47 AM, Elaine Kuo wrote:

            
Elaine;

This problem has literally been addressed hundreds of times on R-help:

http://markmail.org/search/?q=list%3Aorg.r-project.r-help+%22Error%3A+cannot+allocate+vector+of+size%22

And it's either been asked or answered 54 times on StackOverflow:

http://stackoverflow.com/search?q=[r]+%22Error%3A+cannot+allocate+vector+of+size%22

Th lack of contiguous RAM is small enought that the problem should be manageable after reading a few of the solutions offered.

-- 
David.