Subject: Marine Geospatial Ecology Tools (MGET) help
Text archives
- From: Jason Roberts <>
- To: Ana Mafalda Tomás Correia <>
- Cc: "" <>
- Subject: RE: [mget-help] Error in calculating Diversity Index
- Date: Thu, 7 Feb 2019 18:46:56 +0000
- Accept-language: en-US
Hi Mafalda,
Thanks for bringing this to our attention and for posting your workaround. I’m not sure what was happening with 3.4.3. When the error occurred, MGET was asking R to calculate the diversity index. Part of that involved calling the R xtabs function; the failure was that R could not find that function. This is very unusual because xtabs is part of the R “stats” package, which is part of the base R installation. Thus it should always be available.
It is quite possible there is something deeper at play here, but if not, then the problem was likely that there was something broken in the R 3.4.3 installation, and installing R again—either an older or newer version, or even 3.4.3 again—should fix the problem. But it is possible I have misdiagnosed the issue. I will look into this further...
Finally, I should mention that because MGET runs only in the 32-bit version of Python (necessitated by the historical limitation of ArcMap and ArcCatalog being 32-bit only), MGET will only use the 32-bit version of R. So when you do install R, if you would like MGET to be able to use it, be sure you allow the R installer to install the 32-bit version of R as well as the 64-bit version. (It installs both by default, but it is possible to disable one or the other in the installation program.)
All the best,
Jason
From: <>
On Behalf Of Ana Mafalda Tomás Correia
Dear Nicholas,
I just solved the problem by installing an older version of R (3.3.1).
Thank you.
Sincerely, Mafalda
-- Ana Mafalda Correia Bolseira Doutoramento / PhD Student
CIIMAR | Interdisciplinary Centre of Marine and Environmental Research of the University of Porto Terminal de Cruzeiros do Porto de Leixões Avenida General Norton de Matos, S/N 4450-208 Matosinhos | Portugal | Tel. (+351) 223 401 805 E-mail: | www.ciimar.up.pt | www.facebook.com/ciimar.up.pt
Knowledge of the Ocean as a basis for the sustainable management and exploitation of resources |
- [mget-help] Error in calculating Diversity Index, Ana Mafalda Tomás Correia, 02/07/2019
- Re: [mget-help] Error in calculating Diversity Index, Ana Mafalda Tomás Correia, 02/07/2019
- RE: [mget-help] Error in calculating Diversity Index, Jason Roberts, 02/07/2019
- Re: [mget-help] Error in calculating Diversity Index, Ana Mafalda Tomás Correia, 02/07/2019
Archive powered by MHonArc 2.6.19.