[R-sig-Geo] error rgdal library if used from within Grass plugin (Windows)
aloboaleu at gmail.com
Mon Feb 9 15:06:24 CET 2009
The following error only occurs if the R (2.7.2) session is started
from a GRASS shell opened through the QGIS GRASS plugin in windows.
The error does not occur If R is started form its own icon
or by double click in the .RData object, but then the spgrass6
package would not find the GRASS environment.
It also works in linux.
The involved commands are:
1. Start QGIS
2. Star GRASS plugin and open mapset
3. Open Grass Shell
4. Run R and execute require(spgrass6)
>>>> Loading required package: spgrass6
>>>> Loading required package: sp
>>>> Loading required package: rgdal
>>>> Error in fun(...) :
>>>> GDAL Error 1: Can't load requested DLL:
>>>> 126: Não foi possível encontrar o módulo especificado.
>>>> Error : .onLoad failed in 'loadNamespace' for 'rgdal'
>>>> Erro: package 'rgdal' could not be loaded
Any help appreciated.
Dr. Agustin Lobo
Institut de Ciencies de la Terra "Jaume Almera" (CSIC)
LLuis Sole Sabaris s/n
Tel. 34 934095410
Fax. 34 934110012
email: Agustin.Lobo at ija.csic.es
More information about the R-sig-Geo