[GRASS5] CygWIN: MinGW compilation of R/GRASS interface

Markus Neteler neteler at itc.it
Thu Feb 20 05:59:32 EST 2003

Dear Roger,

here a first test report:
The installation of the new GRASS/R interface according to

[for those being interested, it's simply
> install.packages("GRASS")


works 100% ok on Linux.


On Tue, Feb 18, 2003 at 11:15:53AM +0100, Roger Bivand wrote:
> Hi,
> I've submitted GRASS_0.2-2 to CRAN, thanks for your help. One problem that 
> I hit is that strlen() in G_store() usually crashes (MinGW and gcc RH 
> 2.96) when passed a NULL string - a test might be an idea anyway in 
> libes/gis/store.c. I've put a full list of diffs, the source package, and 
> a Windows binary build on http://spatial.nhh.no/R/GRASS/index.html
> The only additional functions are in libes/gis/env.c, to get and set the 
> init flag in open_env(). Beyond that, I've used the logic of Frank 
> Warmerdam's gisinit2, and make_loc from libgrass to create a temporary 
> GISDBASE to run examples in.
> Roger
> -- 
> 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

More information about the grass-dev mailing list