[R-sig-Geo] initGRASS() under linux

Johannes Signer j.m.signer at gmail.com
Mon Jul 25 15:57:42 CEST 2011


yes you can, the following worked for me with Ubuntu 10.10:

initGRASS(gisBase=gisBase,gisDbase=gisDbase, location=name_location,

# execute a command
execGRASS("g.region", parameters=list(res=as.character("1"))


On Mon, Jul 25, 2011 at 9:48 AM, Agustin Lobo <alobolistas at gmail.com> wrote:
> Is it necessary to start R from within the GRASS console to use
> spgrass6 under linux?
> My understanding was that initGRASS() would let you set the grass environment
> not having GRASS actually running.
> Thanks
> Agus
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo

More information about the R-sig-Geo mailing list