[R-sig-eco] Error message in betadisper vegan

Gavin Simpson gavin.simpson at ucl.ac.uk
Thu Jan 20 13:46:10 CET 2011


On Thu, 2011-01-20 at 12:49 +0100, Emma EG. Gothe wrote:
> Dear all,
> 
> I am trying to compare variablility in environmental variables between
> groups of samples using function 'betadisper' in vegan package. I have
> done this previuosly on biotic data and it has worked fine. But now I
> get an error message:
> 
> Error: (subscript) logical subscript too long

What do you get if you run

traceback()

immediately after getting the error?

> 
> I am wondering what this means (what is causing this error) and how I
> can deal with it? I tried to search online but found no useful
> information.

How on earth can we possibly know what you did and why you got the error
if you don't show us your data and what you did? It is next to useless
to just show us the Error message.

The code works for most rational inputs (that's not to say that there
aren't bugs, there are and I'm fixing them) as requested by ?betadisper
so can you send me your data and the code you use (off list if the data
are sensitive or very large) so I can try to replicate the error.

Failing that, make sure you are using the latest versions of R and vegan
and try your code again in a clean running R session.

HTH

G

> I am thankful for any advice I can get on this matter!
> 
> 
> 
> /Emma
> 
> 
> 
> 	[[alternative HTML version deleted]]
> 
> _______________________________________________
> R-sig-ecology mailing list
> R-sig-ecology at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-ecology

-- 
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
 Dr. Gavin Simpson             [t] +44 (0)20 7679 0522
 ECRC, UCL Geography,          [f] +44 (0)20 7679 0565
 Pearson Building,             [e] gavin.simpsonATNOSPAMucl.ac.uk
 Gower Street, London          [w] http://www.ucl.ac.uk/~ucfagls/
 UK. WC1E 6BT.                 [w] http://www.freshwaters.org.uk
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%



More information about the R-sig-ecology mailing list