[GRASS-dev] Plan to build Package to use GRASS from R

Roger Bivand Roger.Bivand at nhh.no
Thu Feb 28 05:54:37 EST 2008


On Thu, 28 Feb 2008, Hamish wrote:

> Roger:
>> Some grass modules don't support --interface-description, but I think
>> not many.
>
> r.mapcalc being the primary concern. Most of the remaining rest are
> interactive things which wouldn't be useful from R. I don't think it's
> a huge effort to do something special for r.mapcalc, chances are you
> might want to do something special with it anyway.
>
> You can use the r.mapcalculator script as a frontend if you need one
> with a working --interface-description.

Right, had found that, thanks!

I'd argue that r.mapcalculator will be good enough. If users need all the 
strength of r.mapcalc, they can say system("bash") and do it from the 
shell, returning to R by closing the shell. The history file for the 
under-shell will not, however, be recorded (at least not in the same 
place).

Roger

>
>
> Hamish
>
>
>
>
>      ____________________________________________________________________________________
> Looking for last minute shopping deals?
> Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping
>
> _______________________________________________
> grass-dev mailing list
> grass-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
>

-- 
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no



More information about the grass-dev mailing list