Re: [GRASS-dev] Re: Problem when loading GRASS 6 raster with large integer values into R via r.out.bin

2008-09-24 Thread Rainer M Krug
On Wed, Sep 24, 2008 at 11:32 AM, Roger Bivand <[EMAIL PROTECTED]> wrote: > On Wed, 24 Sep 2008, Rainer M Krug wrote: > >> On Wed, Sep 24, 2008 at 4:45 AM, Hamish <[EMAIL PROTECTED]> wrote: > > Concerning trapping of the verbose messages, I think it would be a > good idea to do the foll

Re: [GRASS-dev] Re: Problem when loading GRASS 6 raster with large integer values into R via r.out.bin

2008-09-24 Thread Hamish
Roger Bivand wrote: > Yes in principle, but do we know whether users are still on 6.2, or have > migrated to 6.3 and there is no further need to condition on feature > creep? Remember that the R/GRASS interface isn't GRASS, it's an interface. > I can look at reading the GRASS_VERBOSE shell varia

Re: [GRASS-dev] Re: Problem when loading GRASS 6 raster with large integer values into R via r.out.bin

2008-09-24 Thread Roger Bivand
On Wed, 24 Sep 2008, Rainer M Krug wrote: On Wed, Sep 24, 2008 at 4:45 AM, Hamish <[EMAIL PROTECTED]> wrote: Concerning trapping of the verbose messages, I think it would be a good idea to do the following: 1) add a parameter verbose=TRUE in readRAST6 and writeRAST6 to enable or disable it Ro

Re: [GRASS-dev] Re: Problem when loading GRASS 6 raster with large integer values into R via r.out.bin

2008-09-24 Thread Rainer M Krug
On Wed, Sep 24, 2008 at 4:45 AM, Hamish <[EMAIL PROTECTED]> wrote: >> > Concerning trapping of the verbose messages, I think it would be a >> > good idea to do the following: >> > >> > 1) add a parameter verbose=TRUE in readRAST6 and writeRAST6 to enable >> > or disable it > Roger: >> I'll try to d

Re: [GRASS-dev] Re: Problem when loading GRASS 6 raster with large integer values into R via r.out.bin

2008-09-23 Thread Hamish
> > Concerning trapping of the verbose messages, I think it would be a > > good idea to do the following: > > > > 1) add a parameter verbose=TRUE in readRAST6 and writeRAST6 to enable > > or disable it Roger: > I'll try to do this using the existing ignore.stderr= in system(), but > it may not stop

Re: [GRASS-dev] Re: Problem when loading GRASS 6 raster with large integer values into R via r.out.bin

2008-09-23 Thread Roger Bivand
On Tue, 23 Sep 2008, Rainer M Krug wrote: On Tue, Sep 23, 2008 at 1:11 PM, Roger Bivand <[EMAIL PROTECTED]> wrote: On Tue, 23 Sep 2008, Rainer M Krug wrote: OK - I finally got around to testing it. I installed spgrass6 as well as rgdal from source, as spgrass6 needed a newer version of rgdal

Re: [GRASS-dev] Re: Problem when loading GRASS 6 raster with large integer values into R via r.out.bin

2008-09-23 Thread Rainer M Krug
On Tue, Sep 23, 2008 at 1:11 PM, Roger Bivand <[EMAIL PROTECTED]> wrote: > On Tue, 23 Sep 2008, Rainer M Krug wrote: > >> OK - I finally got around to testing it. >> >> I installed spgrass6 as well as rgdal from source, as spgrass6 needed >> a newer version of rgdal then available in CRAN (Error:

Re: [GRASS-dev] Re: Problem when loading GRASS 6 raster with large integer values into R via r.out.bin

2008-09-23 Thread Roger Bivand
On Tue, 23 Sep 2008, Rainer M Krug wrote: OK - I finally got around to testing it. I installed spgrass6 as well as rgdal from source, as spgrass6 needed a newer version of rgdal then available in CRAN (Error: package 'rgdal' 0.5-25 was found, but >= 0.5.26 is required by 'spgrass6'). Hi, I

Re: [GRASS-dev] Re: Problem when loading GRASS 6 raster with large integer values into R via r.out.bin

2008-09-23 Thread Rainer M Krug
OK - I finally got around to testing it. I installed spgrass6 as well as rgdal from source, as spgrass6 needed a newer version of rgdal then available in CRAN (Error: package 'rgdal' 0.5-25 was found, but >= 0.5.26 is required by 'spgrass6'). It is working, when using useGDAL=TRUE. See output be

[GRASS-dev] Re: Problem when loading GRASS 6 raster with large integer values into R via r.out.bin

2008-09-18 Thread Roger Bivand
Roger Bivand nhh.no> writes: > > Markus Neteler osgeo.org> writes: > > > > > On Wed, Sep 17, 2008 at 10:49 AM, Roger Bivand > > nhh.no> wrote: > > > Markus Neteler osgeo.org> writes: > > > > > means: > > - the GDAL plugin is no option here since it does not respect current > > region se

[GRASS-dev] Re: Problem when loading GRASS 6 raster with large integer values into R via r.out.bin

2008-09-18 Thread Roger Bivand
Markus Neteler osgeo.org> writes: > > On Wed, Sep 17, 2008 at 10:49 AM, Roger Bivand > nhh.no> wrote: > > Markus Neteler osgeo.org> writes: > > > >> ... > > Well, not by me (maybe I was unclear?). I wrote: > ... > > means: > - the GDAL plugin is no option here since it does not respect cur

Re: [GRASS-dev] Re: Problem when loading GRASS 6 raster with large integer values into R via r.out.bin

2008-09-18 Thread Roger Bivand
On Thu, 18 Sep 2008, Rainer M Krug wrote: On Wed, Sep 17, 2008 at 10:49 AM, Roger Bivand <[EMAIL PROTECTED]> wrote: Markus Neteler osgeo.org> writes: On Tue, Sep 16, 2008 at 6:50 PM, Rainer M Krug gmail.com> wrote: Hi I have a problem with importing raster maps of type CELL into R - larg

Re: [GRASS-dev] Re: Problem when loading GRASS 6 raster with large integer values into R via r.out.bin

2008-09-18 Thread Rainer M Krug
On Wed, Sep 17, 2008 at 10:49 AM, Roger Bivand <[EMAIL PROTECTED]> wrote: > Markus Neteler osgeo.org> writes: > >> >> On Tue, Sep 16, 2008 at 6:50 PM, Rainer M Krug gmail.com> >> wrote: >> > Hi >> > >> > I have a problem with importing raster maps of type CELL into R - >> > larger values become

Re: [GRASS-dev] Re: Problem when loading GRASS 6 raster with large integer values into R via r.out.bin

2008-09-18 Thread Markus Neteler
On Wed, Sep 17, 2008 at 10:49 AM, Roger Bivand <[EMAIL PROTECTED]> wrote: > Markus Neteler osgeo.org> writes: > >> >> On Tue, Sep 16, 2008 at 6:50 PM, Rainer M Krug gmail.com> >> wrote: >> > Hi >> > >> > I have a problem with importing raster maps of type CELL into R - >> > larger values become

[GRASS-dev] Re: Problem when loading GRASS 6 raster with large integer values into R via r.out.bin

2008-09-17 Thread Roger Bivand
Markus Neteler osgeo.org> writes: > > On Tue, Sep 16, 2008 at 6:50 PM, Rainer M Krug gmail.com> > wrote: > > Hi > > > > I have a problem with importing raster maps of type CELL into R - > > larger values become "wrapped" around as r.out.bin saves the raster > > values as shortint values. Is th