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
initGRASS() under linux
3 messages · Agustin Lobo, Rainer M Krug, Johannes Signer
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20110725/b7726c41/attachment.pl>
Hello,
yes you can, the following worked for me with Ubuntu 10.10:
initGRASS(gisBase=gisBase,gisDbase=gisDbase, location=name_location,
mapset=name_mapset,override=override)
# execute a command
execGRASS("g.region", parameters=list(res=as.character("1"))
HTH
Johannes
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