Hello
I am working on grass and R.
I ran grass, then R like this
> library(GRASS)
> G<-gmeta()
> tab <- sites.get(G, "f28tabegyo")
> names(tab)<-c("x","y","z")
> library(spatial)
> dt.ls3<-surf.ls(3,tab)
> trsurf<-trmat.G(G,dt.ls3))
> rast.put(G, lname="f28tab_tr3", layer=trsurf,cat=FALSE)
Error in list.GRASS(type = "rast") : No GRASS environment detected - start GRASS
before entering R
Can anyone explain to me what happened ?
thanks in advance
Ahmet Temiz
Turkey
______________________________________
Scanned and protected by Inflex
http://pldaniels.com/inflex
______________________________________
The views and opinions expressed in this e-mail message are the sender's own
and do not necessarily represent the views and the opinions of Earthquake Research Dept.
of General Directorate of Disaster Affairs.
Bu e-postadaki fikir ve gorusler gonderenin sahsina ait olup, yasal olarak T.C.
B.I.B. Afet Isleri Gn.Mud. Deprem Arastirma Dairesi'ni baglayici nitelikte degildir.
On Fri, 31 Jan 2003, temiz wrote:
Hello
I am working on grass and R.
I ran grass, then R like this
> library(GRASS)
> G<-gmeta()
> tab <- sites.get(G, "f28tabegyo")
> names(tab)<-c("x","y","z")
> library(spatial)
> dt.ls3<-surf.ls(3,tab)
> trsurf<-trmat.G(G,dt.ls3))
> rast.put(G, lname="f28tab_tr3", layer=trsurf,cat=FALSE)
Error in list.GRASS(type = "rast") : No GRASS environment detected -
start GRASS
before entering R
Can anyone explain to me what happened ?
You only get a message like this if rast.put() is being run
with interp=TRUE. However this is confusing, because sites.get()
must have worked correctly! Please note that there is a mailing list for
interface questions at http://grass.itc.it/statsgrass/index.html. Can you
provide more details, interface version number (help(package=GRASS)), on
that list or directly?
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@nhh.no