[R-sig-Geo] readOGR(): stringsAsFactors

Roger Bivand Roger.Bivand at nhh.no
Wed May 12 09:33:54 CEST 2010


On Tue, 11 May 2010, Agustin Lobo wrote:

>
> Roger, 
> I've done:
> root at alobo-laptop:/home/alobo# cvs -z3
> -d:pserver:anonymous at r-spatial.cvs.sourceforge.net:/cvsroot/r-spatial co -P
> spGDAL

NO!

rgdal is rgdal project, rgdal module, just search for rgdal on opening sf:

-d:pserver:anonymous at rgdal.cvs.sourceforge.net:/cvsroot/rgdal co -P rgdal

Roger

PS. CVS anywhere is great as an archive, but it is very difficult to 
delete things. As you saw, the r-spatial project on sourceforge has very 
many deprecated modules, which are of historical interest only.


> cvs checkout: Updating spGDAL
> cvs checkout: Updating spGDAL/R
> cvs checkout: Updating spGDAL/man
>
> but then
> root at alobo-laptop:/home/alobo# R CMD check rgdal
> * checking for working pdflatex ... OK
> * using log directory '/home/alobo/rgdal.Rcheck'
> * using R version 2.11.0 (2010-04-22)
> * using session charset: UTF-8
> * checking for file 'rgdal/DESCRIPTION' ... OK
> * this is package 'rgdal' version '0.6-20'
> * checking package name space information ... OK
> * checking package dependencies ... OK
> * checking if this is a source package ... WARNING
> Subdirectory 'rgdal/src' contains object files.
> * checking for executable files ... OK
> * checking whether package 'rgdal' can be installed ... ERROR
> Installation failed.
> See '/home/alobo/rgdal.Rcheck/00install.out' for details.
>
> The end of 00install.out is:
> make: Nothing to be done for `all'.
> installing to /home/alobo/rgdal.Rcheck/rgdal/libs
> ** R
> ** inst
> ** preparing package for lazy loading
> Error in matchSignature(signature, fdef) :
>  more elements in the method signature (2) than in the generic  signature
> (1)
> Error : unable to load R code in package 'rgdal'
> ERROR: lazy loading failed for package ‘rgdal’
> * removing ‘/home/alobo/rgdal.Rcheck/rgdal’
>
> Am I doing something wrong or is the package missing some component?
>
> BTW, is rgdal becoming spGDAL ? 
>
> Agus
>
>
>
> -- 
> View this message in context: http://r-sig-geo.2731867.n2.nabble.com/readOGR-stringsAsFactors-tp5034706p5039744.html
> Sent from the R-sig-geo mailing list archive at Nabble.com.
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo

-- 
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, 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 mailing list