[Qgis-user] Unable to run R in QGIS 2.6 - rgdal binary unavailable for R 3.1

drruddy gmail drmarkruddy at gmail.com
Thu Jan 8 07:06:29 PST 2015


Hi, thanks for reply
Yes I’ve seen this post. The problem is that I *do* have rgdal installed and working on my machine R install (I’m using it in RStudio now) *but* it appears from the log after running R that QGIS is trying fetch the binary without acknowledging the presence of rgdal.

MR


On 8 January 2015 at 15:03:25, Nicolas Cadieux (nicolas.cadieux at archeotec.ca) wrote:

Hi,

Maybe this:
http://stackoverflow.com/questions/25324721/r-packages-rgdal-rgeos-is-not-available-for-r-version-3-1-1
Nicolas Cadieux M.Sc.
Les Entreprises Archéotec inc. 
8548, rue Saint-Denis Montréal H2P 2H2
Téléphone: 514.381.5112  Fax: 514.381.4995

Le 2015-01-08 09:01, "drruddy gmail [via OSGeo.org]" <[hidden email]> a écrit :
Apologies for cross-posting. Having trouble getting a resolution on gis.stackexchange here.

I’m attempting to use R within QGIS2.6 on OSX Mavericks but cannot get R to run because rgdal is not available as binary for R3.1.2 (see QGIS log output from R execution console below).

I have installed rgdal on my system R installation using alternatives to install.package(rgdal, source) such as KyngChaos but QGIS doesn’t seem to be seeing rgdal. Does QGIS use an different R/rgdal location to my main system versions?

See example QGIS log output after trying R summary tool.

R execution console output

R version 3.1.2 (2014-10-31) -- "Pumpkin Helmet" Copyright (C) 2014 The R Foundation for Statistical Computing Platform: x86_64-apple-darwin13.4.0 (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details.

Natural language support but running in an English locale

R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R.

options("repos"="http://cran.at.r-project.org/") tryCatch(find.package("rgdal"), error=function(e) install.packages("rgdal", dependencies=TRUE))

package 'rgdal' is available as a source package but not as a binary

Warning message: package 'rgdal' is not available (for R version 3.1.2) tryCatch(find.package("raster"), error=function(e) install.packages("raster", dependencies=TRUE)) [1] "/Library/Frameworks/R.framework/Versions/3.1/Resources/library/raster" library("raster") Loading required package: sp library("rgdal") Error in library("rgdal") : there is no package called 'rgdal' Execution halted

many thanks

Mark


_______________________________________________
Qgis-user mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/qgis-user

If you reply to this email, your message will be added to the discussion below:
http://osgeo-org.1560.x6.nabble.com/Unable-to-run-R-in-QGIS-2-6-rgdal-binary-unavailable-for-R-3-1-tp5180550.html
To start a new topic under Quantum GIS - User, email [hidden email]
To unsubscribe from Quantum GIS - User, click here.
NAML

View this message in context: Re: Unable to run R in QGIS 2.6 - rgdal binary unavailable for R 3.1
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
_______________________________________________  
Qgis-user mailing list  
Qgis-user at lists.osgeo.org  
http://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20150108/ec5ba867/attachment.html>


More information about the Qgis-user mailing list