[Vegan-commits] r2605 - pkg/vegan/vignettes

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Sep 6 15:29:20 CEST 2013


Author: jarioksa
Date: 2013-09-06 15:29:19 +0200 (Fri, 06 Sep 2013)
New Revision: 2605

Modified:
   pkg/vegan/vignettes/FAQ-vegan.texi
Log:
add FAQ about LAPACK errors in cca/rda/capscale

Modified: pkg/vegan/vignettes/FAQ-vegan.texi
===================================================================
--- pkg/vegan/vignettes/FAQ-vegan.texi	2013-09-06 08:12:23 UTC (rev 2604)
+++ pkg/vegan/vignettes/FAQ-vegan.texi	2013-09-06 13:29:19 UTC (rev 2605)
@@ -334,6 +334,7 @@
 * Where can I find numerical scores of ordination axes?::  
 * How the RDA results are scaled?::  
 * cca fails with ``data.frame expected'' or ``"site.env" missing''::  
+* Ordination fails with ``Error in La.svd''::  
 * Variance explained by ordination axes::  
 * Can I have random effects in constrained ordination or in @code{adonis}?::  
 * Is it possible to have passive points in ordination?::  
@@ -478,7 +479,7 @@
 implementation details in vegan'' that you can read with @pkg{vegan}
 command @code{vegandocs("decision")}.
 
- at node cca fails with ``data.frame expected'' or ``"site.env" missing'', Variance explained by ordination axes, How the RDA results are scaled?, Ordination
+ at node cca fails with ``data.frame expected'' or ``"site.env" missing'', Ordination fails with ``Error in La.svd'', How the RDA results are scaled?, Ordination
 @section cca fails with ``data.frame expected'' or ``"site.env" missing''
 
 This is not a @pkg{vegan} error message, but it comes from the
@@ -489,7 +490,29 @@
 you do not need package @pkg{ade4}, you can detach it with command
 @code{detach(package:ade4)}.
 
- at node Variance explained by ordination axes, Can I have random effects in constrained ordination or in @code{adonis}?, cca fails with ``data.frame expected'' or ``"site.env" missing'', Ordination
+ at node Ordination fails with ``Error in La.svd'', Variance explained by ordination axes, cca fails with ``data.frame expected'' or ``"site.env" missing'', Ordination
+ at section Ordination fails with ``Error in La.svd''
+
+Constrained ordination (@code{cca}, @code{rda}, @code{capscale}) will
+sometimes fail with error message 
+ at code{Error in La.svd(x, nu, nv): error code 1 from Lapack routine 'dgesdd'.}  
+
+It seems that the basic problem is in the @code{svd} function of
+ at code{LAPACK} that is used for numerical analysis in R.  @code{LAPACK}
+is an external library that is beyond the control of package developers
+and R core team so that these problems may be unsolvable. It seems that
+the problems with the LAPACK code are so common that even the help page
+of @code{svd} warns about them
+
+Reducing the range of constraints (environmental variables) helps
+sometimes. For instance, multiplying constraints by a constant < 1. This
+rescaling does not influence the numerical results of constrained
+ordination, but it can complicate further analyses when values of
+constraints are needed, because the same scaling must be applied
+there. We can only hope that this problem is fixed in the future
+versions of R and @code{LAPACK}.
+
+ at node Variance explained by ordination axes, Can I have random effects in constrained ordination or in @code{adonis}?, Ordination fails with ``Error in La.svd'', Ordination
 @section Variance explained by ordination axes.
 
 In general, @pkg{vegan} does not directly give any statistics on the



More information about the Vegan-commits mailing list