Subject: Marine Geospatial Ecology Tools (MGET) help
Text archives
- From: Faheem Iqbal <>
- To:
- Subject: [mget-help] Fwd: Required help
- Date: Mon, 28 Aug 2017 11:42:24 +1000
- Authentication-results: oit.duke.edu; spf=pass
Hi,
I am using Arc GIS 10.3 and already installed Marine Geospatial Ecology Tools and incorporated in ArcMap but when I am trying to run Random Forest it is giving an error.
I am have installed R 2.9 as well but the error is the same.
Do I need to path R in a particular folder etc???
"""
Executing: RandomForestModelFitToArcGISTableUsingFormula "C:\Users\ifaheem\Desktop\test\Sorell ration index\testing for ArcGIS.csv" "C:\Users\ifaheem\Desktop\test\Sorell ration index\arcGIStesting" Volume~NDVI_4+VARI_4+MCARI2_4+mTVI_4 500 2 randomForest # false # # true false false # # # true true false png 1000 3000 3000 10 white
Start Time: Mon Aug 28 11:20:22 2017
Running script RandomForestModelFitToArcGISTableUsingFormula...
SoftwareNotInstalledError: This tool requires R 2.9.0 or a later version, but it is not installed. Please download and install a compatible version from http://www.r-project.org/.
Failed script RandomForestModelFitToArcGISTableUsingFormula...
Traceback (most recent call last):
File "C:\Program Files\GeoEco\ArcGISToolbox\Scripts\RandomForestModelFitToArcGISTableUsingFormula.py", line 5, in <module>
ExecuteMethodFromCommandLineAsArcGISTool('GeoEco.Statistics.Modeling', 'RandomForestModel', 'FitToArcGISTableUsingFormula')
File "C:\Python27\ArcGIS10.3\lib\site-packages\GeoEco\ArcGISScripts.py", line 210, in ExecuteMethodFromCommandLineAsArcGISTool
exec sourceCode in globals(), locals()
File "<string>", line 1, in <module>
File "C:\Python27\ArcGIS10.3\lib\site-packages\GeoEco\Statistics\Modeling.py", line 671, in FitToArcGISTableUsingFormula
cls.__doc__.Obj.ValidateMethodInvocation()
File "C:\Python27\ArcGIS10.3\lib\site-packages\GeoEco\Metadata.py", line 462, in ValidateMethodInvocation
self.InitializeDependency(d)
File "C:\Python27\ArcGIS10.3\lib\site-packages\GeoEco\Metadata.py", line 512, in InitializeDependency
d.Initialize()
File "C:\Python27\ArcGIS10.3\lib\site-packages\GeoEco\R.py", line 368, in Initialize
Logger.RaiseException(SoftwareNotInstalledError(_(u'This tool requires R %i.%i.%i or a later version, but it is not installed. Please download and install a compatible version from http://www.r-project.org/.') % (self.MinimumMajorVersion, self.MinimumMinorVersion, self.MinimumPatchVersion)))
File "C:\Python27\ArcGIS10.3\lib\site-packages\GeoEco\Logging.py", line 104, in RaiseException
raise exception
SoftwareNotInstalledError: This tool requires R 2.9.0 or a later version, but it is not installed. Please download and install a compatible version from http://www.r-project.org/.
Failed to execute (RandomForestModelFitToArcGISTableUsingFormula).
Failed at Mon Aug 28 11:20:24 2017 (Elapsed Time: 1.74 seconds)
"""
Waiting for your reply,
Faheem
PhD Student
University of Tasmania
- [mget-help] Fwd: Required help, Faheem Iqbal, 08/27/2017
- RE: [mget-help] Fwd: Required help, Jason Roberts, 08/30/2017
Archive powered by MHonArc 2.6.19.