Skip to Content.

mget-help - RE: [mget-help] GLM RPy package error

Please Wait...

Subject: Marine Geospatial Ecology Tools (MGET) help

Text archives


From: "McElligott, Deirdre" <>
To: Jason Roberts <>
Cc: "" <>
Subject: RE: [mget-help] GLM RPy package error
Date: Wed, 13 Feb 2013 13:02:00 +0000
Accept-language: en-GB, en-IE, en-US

Hi Jason,

 

Apologies for not replying sooner, I was out of the office. I figured out the problem….. I had other programs running R installed and it was under one of these that an updated version of the ‘caret’ package was installed and would not allow me to reinstall in R i386.

 

So I’ve uninstalled these programs and installed ‘caret’ in R i386 and it’s all working beautifully now.

 

Thanks for your help yet again.

 

Cheers

 

Dee

 

From: Jason Roberts [mailto:]
Sent: 05 February 2013 19:53
To: McElligott, Deirdre
Cc:
Subject: RE: [mget-help] GLM RPy package error

 

Hi Dee,

 

That is an unusual error. It comes from R itself. From what I can tell, it indicates that the carat package is installed but that R failed to load it.

 

MGET itself installs the caret package the first time you run the GLM tool, if it is not installed already. So I am not surprised that installing the package manually does not help.

 

Can you please try this:

 

1.    Start the i386 version of R (click Start button à All Programs à R à R i386). This is the version of R that MGET must use, to be compatible with ArcGIS.

2.    At the R prompt, type “library(caret)” without quotes and press Enter.

3.    Let me know what happens. If it fails, please send the complete output.

4.    Type “installed.packages()” without quotes and send me the complete output. It will be large, so you might have to paste into a text file.

 

I am hoping that it is just a bug in caret that was there temporarily. But if that was the case, you installing it again would probably have updated it to a fixed version. (At least, it is working when I installed it right now.)

 

Thanks,

 

Jason

 

From: McElligott, Deirdre []
Sent: Tuesday, February 05, 2013 7:04 AM
To:
Subject: [mget-help] GLM RPy package error

 

Hi Jason,

 

Much thanks for a great tool. I am however having trouble running the ‘Predict GLM from ArcGIS Table’ tool where I get the following error:

 

Running script GLMPredictFromArcGISTable...

RPy_RException: Error: package/namespace load failed for 'caret'

Obtaining additional debugging information. This may cause this tool to hang. If you do not see any additional messages after one minute, halt its execution.

<class 'rpy.RPy_RException'>: Error: package/namespace load failed for 'caret'

 

I’ve manually installing the ‘caret’ package to R but I still get the same error.

 

Any help would be greatly appreciated.

 

Cheers

 

Dee

Archives powered by MHonArc.
Top of Page