[R-sig-Geo] rgdal_0.8-8 spTransform
matteo.mattiuzzi at boku.ac.at
Wed Apr 24 10:44:00 CEST 2013
yes I've used update.packages()
re-installing (without removing first) sp and then rgdal using install.packages("sp") ; install.packages("rgdal") ... solved the problem.
>>> Roger Bivand 04/24/13 10:27 AM >>>
On Wed, 24 Apr 2013, Matteo Mattiuzzi wrote:
> Dear rgdal Maintainers, spTransform is not available for standard call.
> I haven't tested other rgdal functions but the problem has happened with
> the last update of rgdal (I think today). Matteo
The definition of the spTransform method was moved as of sp 1.0-9 and
rgdal 0.8-8 from rgdal to sp. I cannot reproduce your problem on R 3.0.0,
so there may be differences between the methods package in 3.0.0 and
2.15.3, but I suggest reinstalling sp, then rgdal, in that order to ensure
that the methods database is refreshed. Did you use update.packages() -
which sorts rgdal before sp? That shouldn't hurt, as rgdal 0.8-8 depends
on sp >= 1.0-9, so should not install if the sp version is earlier.
> R version 2.15.3 (2013-03-01)
> Platform: x86_64-pc-linux-gnu (64-bit)
>  LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
>  LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
>  LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
>  LC_PAPER=C LC_NAME=C
>  LC_ADDRESS=C LC_TELEPHONE=C
>  LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
> attached base packages:
>  stats graphics grDevices utils datasets methods base
> other attached packages:
>  rgdal_0.8-8 rgeos_0.2-16 snow_0.3-12 raster_2.1-25 sp_1.0-9
> loaded via a namespace (and not attached):
>  grid_2.15.3 lattice_0.20-15 tools_2.15.3
> Error: object 'spTransform' not found
> standardGeneric for "spTransform" defined from package "rgdal"
> function (x, CRSobj, ...)
> Methods may be defined for arguments: x, CRSobj
> Use showMethods("spTransform") for currently available ones.
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
Department of Economics, NHH Norwegian School of Economics,
Helleveien 30, N-5045 Bergen, Norway.
voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no
More information about the R-sig-Geo