[GRASS-stats] wrong values imported to R

Jarek Jasiewicz jarekj at amu.edu.pl
Thu Oct 16 15:36:55 EDT 2008


upps...
I've just updated and....

 > r=readRAST6("sca_mroga",plugin=TRUE)

 *** caught segfault ***
address (nil), cause 'unknown'

Traceback:
 1: .Call("RGDAL_OpenDataset", as.character(filename), TRUE, PACKAGE = 
"rgdal")
 2: .local(.Object, ...)
 3: initialize(value, ...)
 4: initialize(value, ...)
 5: new("GDALReadOnlyDataset", filename)
 6: GDAL.open(fname)
 7: readGDAL(fname, silent = ignore.stderr)
 8: readRAST6("sca_mroga", plugin = TRUE)

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

and I have very big problem....
...
Markus Neteler pisze:
> On Thu, Oct 16, 2008 at 9:02 PM, Jarek Jasiewicz <jarekj at amu.edu.pl> wrote:
>   
>> Hi:
>>
>> data from Grass: (integer)
>>
>> Range of data:    min = 30  max = 31589370
>> (there are more or less 14000 categories ranges as above)
>>
>> imported to R:
>>
>> summary(r at data$sca_mroga)
>>   Min.  1st Qu.   Median     Mean  3rd Qu.     Max.
>> -32770.0     60.0    150.0    532.1    330.0  32760.0
>>
>> I think the problems lies in 16bit proxy .bin file during export, and we
>> have overflow
>>     
>
> Jarek,
>
> if your GRASS-R interface isn't too old, please try
> to add plugin=TRUE as parameter.
> It should enable the new method of reading in data.
>
> Please report if it (not) works.
>
> Best,
> Markus
>   


More information about the grass-stats mailing list