[R-sig-Geo] is this a clash between wrong version of rgdal and sp?

Frede Aakmann Tøgersen frtog at vestas.com
Tue Oct 20 12:43:11 CEST 2015


Thanks Edzer

So since rgdal depends on sp I first found and installed the most recent versio of sp available for R-2.14.0. Here is a snip from the DESCRIPTION file:

Packaged: 2013-03-29 10:01:36 UTC; rsb
Author: Edzer Pebesma [aut, cre], Roger Bivand [aut], Barry Rowlingson
        [ctb], Virgilio Gomez-Rubio [ctb]
Maintainer: Edzer Pebesma <edzer.pebesma at uni-muenster.de>
NeedsCompilation: yes
Repository: CRAN
Date/Publication: 2013-03-29 13:10:06
Package: sp
Version: 1.0-9
Date: 2013-03-30
Title: classes and methods for spatial data
Authors at R: c(person("Edzer", "Pebesma", role = c("aut", "cre"), email =
        "edzer.pebesma at uni-muenster.de"), person("Roger", "Bivand",
        role = "aut", email = "Roger.Bivand at nhh.no"), person("Barry",
        "Rowlingson", role = "ctb"), person("Virgilio", "Gomez-Rubio",
        role = "ctb"))
Depends: R (>= 2.14.0)
Suggests: lattice, RColorBrewer, rgdal (>= 0.8-7), rgeos (>= 0.1-8)
Imports: methods, graphics, utils, lattice, grid

The sp versio is 1.0-9 and it suggests rgdal (>= 0.8-7).

Installing these versions of sp and rgdal things work for me in R-2.14.0


Yours sincerely / Med venlig hilsen

Frede Aakmann Tøgersen
Specialist, M.Sc., Ph.D.
Plant Performance & Modeling

Technology & Service Solutions
T +45 9730 5135
M +45 2547 6050
frtog at vestas.com
http://www.vestas.com

Company reg. name: Vestas Wind Systems A/S
This e-mail is subject to our e-mail disclaimer statement.
Please refer to www.vestas.com/legal/notice
If you have received this e-mail in error please contact the sender. 



-----Original Message-----
From: R-sig-Geo [mailto:r-sig-geo-bounces at r-project.org] On Behalf Of Edzer Pebesma
Sent: 20. oktober 2015 11:23
To: r-sig-geo at r-project.org
Subject: Re: [R-sig-Geo] is this a clash between wrong version of rgdal and sp?



On 20/10/15 11:16, Frede Aakmann Tøgersen wrote:
> Hi
> 
> I need to use R-2.14.0 for some INLA calculation. Even though we have more recent versions of R I cannot use those because INLA is not installed for those versions.
> 
> When trying to set a CRS I encounter the following error message:
> 
> CRS("+proj=utm +zone=34 +datum=WGS84") :   could not find function "checkCRSArgs" 
> 
> A similar error was seen in
> 
> https://stat.ethz.ch/pipermail/r-sig-geo/2013-February/017582.html 
> 
> A solution was found by Olga but it does not work for me.
> 
> So can someone please tell me which version of sp and rgdal can I use for R-2.14.0??

How about using those that were current at the time of release of
2.14.0, or of the release of the INLA version you are bound to?

> 
> I have tried several combinations but nothing has helped me so far.
> 
> Any help is appreciated.
> 
> Yours sincerely / Med venlig hilsen
> 
> Frede Aakmann Tøgersen
> Specialist, M.Sc., Ph.D.
> Plant Performance & Modeling
> 
> Technology & Service Solutions
> T +45 9730 5135
> M +45 2547 6050
> frtog at vestas.com
> http://www.vestas.com
> 
> Company reg. name: Vestas Wind Systems A/S
> This e-mail is subject to our e-mail disclaimer statement.
> Please refer to www.vestas.com/legal/notice
> If you have received this e-mail in error please contact the sender. 
> 
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
> 

-- 
Edzer Pebesma
Institute for Geoinformatics (ifgi),  University of Münster,
Heisenbergstraße 2, 48149 Münster, Germany; +49 251 83 33081
Journal of Statistical Software:   http://www.jstatsoft.org/
Computers & Geosciences:   http://elsevier.com/locate/cageo/
Spatial Statistics Society http://www.spatialstatistics.info



More information about the R-sig-Geo mailing list