[R-sig-Geo] followup on rgdal - invalid alignment error

Scott W Mitchell smitch at connect.carleton.ca
Fri Sep 8 20:03:33 CEST 2006


After sending my last post, detailing my system setup with a working  
R/GDAL/rgdal installation on a Mac, I played a bit more and came  
across a glitch when I tried example(readGDAL) on the fresh build.

It gets through translating the data set and the image command, but  
then on summary() I get:

rdGDAL> summary(x)

*** caught bus error ***
address 0x17, cause 'invalid alignment'

Traceback:
1: sort(x, partial = unique(c(lo, hi)))
2: quantile.default(object)
3: stats::quantile(object)
4: summary.default(X[[1]], ...)
5: FUN(X[[1]], ...)
6: lapply(as.list(object), summary, maxsum = maxsum, digits =  
12,     ...)
7: summary.data.frame(object at att)
8: summary(object at data)
9: summary(object at data)
10: summary(x)
11: summary(x)
12: eval.with.vis(expr, envir, enclos)
13: eval.with.vis(ei, envir)
14: source(zfile, local, echo = echo, prompt.echo = prompt.echo,      
verbose = verbose, max.deparse.length = 250, encoding = encoding)
15: example(readGDAL)

Possible actions:
1: abort (with core dump)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace
Selection:

A byte-ordering issue???

Any suggestions?

Scott




----
Scott Mitchell, Assistant Professor, Carleton University
Department of Geography & Environmental Studies, Loeb B443A
& Geomatics and Landscape Ecology Research Laboratory, Nesbitt 340
Mailing:  Loeb B349, 1125 Colonel By Dr., Ottawa, ON K1S 5B6 Canada
+1-613-520-2600 x2695 Fax: +1-613-520-4301 Scott_Mitchell at carleton.ca




More information about the R-sig-Geo mailing list