About "as.CRSPts" function of proj4R
On Sun, 18 Apr 2004, Hisaji ONO wrote:
Hello.
I've tried to execute "example(as.CRSPts)" of proj4R package.
But I've got following error message.
a.CRSP> data(state)
a.CRSP> state.xy <- xyPts(state.center$x, state.center$y)
a.CRSP> state.xy.cot <- state.xy[state.xy at x >= -121]
a.CRSP> state.xy.cot.ll27 <- as.CRSPts(state.xy.cot, CRS =
CRS("+proj=latlong +datum=NAD27"))
Error in asMethod(object, Class, value) : couldn't find function
".InhSlotNames"
The source package check OK for me on R 1.9.0 as released (fresh install). Please try R CMD check proj4R in the directory above the untarred tar.gz file, and also say which R version you are using. I suspect that you've upgraded R, that something in the methods package has changed, and your pre-canned proj4R is now asking for a methods function that has gone away - is that possible? Roger
Could you give any suggestion? Regards.
_______________________________________________ R-sig-Geo mailing list R-sig-Geo at stat.math.ethz.ch https://www.stat.math.ethz.ch/mailman/listinfo/r-sig-geo
Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administration, Breiviksveien 40, N-5045 Bergen, Norway. voice: +47 55 95 93 55; fax +47 55 95 93 93 e-mail: Roger.Bivand at nhh.no