Skip to Content.

mget-help - [mget-help] how to run two versions of R with MGET

Please Wait...

Subject: Marine Geospatial Ecology Tools (MGET) help

Text archives


[mget-help] how to run two versions of R with MGET


Chronological Thread 
  • From: "Dilts, Thomas" <>
  • To: "" <>
  • Subject: [mget-help] how to run two versions of R with MGET
  • Date: Fri, 21 Oct 2016 17:32:29 +0000
  • Accept-language: en-US

Hi Jason and listerservers,

My colleague one office down gets the following error when trying to run Fit
GLM. He needs R 3.2.4 for the distance package. How can we programmatically
run two versions of R with MGET? Is there a universal script that can be
altered to point to the earlier version of R or does each tool need to be
modified?

Executing: GLMFitToArcGISTable
F:\Nevada\Fecal_Data\R_poop\Cow_seg_arc.xlsx\cow_trunc1416$
F:\Nevada\Fecal_Data\R_poop\ArcModel.Rdata estpoops quasipoisson "costdist
#;elev #;tpi1000m #;tpi20000m #" year;hma;allot # # # # # # # true true true
3 # true false true true png 1000 3000 3000 10 white
Start Time: Fri Oct 21 09:41:31 2016
Running script GLMFitToArcGISTable...
<type 'exceptions.RuntimeError'>: No module named _rpy3024

RPy module can not be imported. Please check if your rpy
installation supports R 3.2.4. If you have multiple R versions
installed, you may need to set RHOME before importing rpy. For
example:

>>> from rpy_options import set_options
>>> set_options(RHOME='c:/progra~1/r/rw2011/')
>>> from rpy import *


Failed to execute (GLMFitToArcGISTable).
Failed at Fri Oct 21 09:41:41 2016 (Elapsed Time: 10.00 seconds)

------------------------------------------------------------------
Thomas Dilts, MS
Research Scientist
Great Basin Landscape Ecology Lab
Department of Natural Resources and Environmental Science
University of Nevada Reno
(775) 784-1447
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.cabnr.unr.edu_weisberg_&d=CwIFAw&c=imBPVzF25OnBgGmVOlcsiEgHoG1i6YHLR0Sj_gZ4adc&r=xCrbnFZcjrfVEdKQhMVPxwdYw2imyfElky5AJEHT_VA&m=4PF7YEqUYZEy4MLwdtIILtkUA12Y1AUrorH6OmZVnl0&s=ol3X97uy5IBkWV6OnDvyLWSsksGGv_rp9rQJHB1vm_0&e=

https://urldefense.proofpoint.com/v2/url?u=http-3A__gislandscapeecology.blogspot.com_&d=CwIFAw&c=imBPVzF25OnBgGmVOlcsiEgHoG1i6YHLR0Sj_gZ4adc&r=xCrbnFZcjrfVEdKQhMVPxwdYw2imyfElky5AJEHT_VA&m=4PF7YEqUYZEy4MLwdtIILtkUA12Y1AUrorH6OmZVnl0&s=drc_F-g-TQ9wCozGMBZ6k_zWsUP7UWxCou3zPpoiDHk&e=




Archive powered by MHonArc 2.6.19.

Top of Page