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 an alternative to install.package but QGIS doesn't seem to be seeing this. Does QGIS use an different R/rgdal location to my main system versions?
Any advice on how to get this working appreciated.
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)
...some packages downloaded here...
The downloaded binary packages are in /var/folders/q4/r2k75kq956l54c4xtcxkscl40000gn/T//RtmpOSE4WR/downloaded_packages tryCatch(find.package("spatstat"), error=function(e) install.packages("spatstat", dependencies=TRUE)) [1] "/Library/Frameworks/R.framework/Versions/3.1/Resources/library/spatstat" 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
Aucun commentaire:
Enregistrer un commentaire