[GRASS-user] using R and gstat inside a C module

I need to use R and gstat functionalities inside a module I'm writing.
To embed R in a C program libRmath should be used.
First question:
Is it possible to load gstat package from the R standalone library?
Second question:
Is there another way to do it when working inside a GRASS module? The
question raises because, with regard to spgrass6, there's no way to
use it from a module (except by making a shell process call from C)...
am I wrong?
Thanks,
Giovanni

On Mon, 23 Oct 2006, G. Allegri wrote:

I need to use R and gstat functionalities inside a module I'm writing.
To embed R in a C program libRmath should be used.
First question:
Is it possible to load gstat package from the R standalone library?
Second question:
Is there another way to do it when working inside a GRASS module? The
question raises because, with regard to spgrass6, there's no way to
use it from a module (except by making a shell process call from C)...
am I wrong?

Reply to identical question posted on STATGRASS list.

Thanks,
Giovanni

_______________________________________________
grassuser mailing list
grassuser@grass.itc.it
http://grass.itc.it/mailman/listinfo/grassuser

--
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@nhh.no