Return-Path |
<neteler@itc.it>
|
Delivered-To |
grass-bugs@lists.intevation.de
|
Date |
Wed, 4 Jun 2003 22:58:20 +0200
|
From |
Markus Neteler <neteler@itc.it>
|
To |
Roger Bivand <Roger.Bivand@nhh.no>
|
Cc |
grass-bugs@intevation.de
|
Subject |
Re: [STATSGRASS] R: east() north() - [Bug #1783]
|
Message-ID |
<20030604225820.C3828@itc.it>
|
References |
<20030429103904.E10897@itc.it> <Pine.LNX.4.44.0306031304520.17152-100000@reclus.nhh.no>
|
Mime-Version |
1.0
|
Content-Type |
text/plain; charset=us-ascii
|
Content-Disposition |
inline
|
User-Agent |
Mutt/1.2.5.1i
|
In-Reply-To |
<Pine.LNX.4.44.0306031304520.17152-100000@reclus.nhh.no>; from Roger.Bivand@nhh.no on Tue, Jun 03, 2003 at 02:22:20PM +0200
|
X-Spam-Status |
No, hits=-3.0 required=5.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01, USER_AGENT,USER_AGENT_MUTT version=2.44
|
X-Spam-Level |
|
Roger,
(cc bugtracker)
On Tue, Jun 03, 2003 at 02:22:20PM +0200, Roger Bivand wrote:
> Markus,
>
> On Tue, 29 Apr 2003, Markus Neteler wrote:
>
> > some days ago a GRASS-R bug was posted in RT:
> > http://intevation.de/rt/webrt?serial_num=1783&display=History
> >
> > I just wanted to mention that in case you are not aware of it.
> >
> I've submitted a revision to CRAN removing the offending list.GRASS()
> function, which was only ever used simplistically by rast.get(),
> rast.put() and sites.get() and sites.put() only in interpreted mode. It is
> actually still there but hidden, so users don't see it, and I guess nobody
> will miss it. system("g.list") is so much easier, and gives direct access,
> which can then be used by copy&paste.
Thanks for the update, I'll update GRASS/R tomorrow.
> I checked 1) that list.GRASS() isn't used in your book, and
So we also won't do it in the second edition (planned).
> 2) that it is seriously difficult to retrieve the
> names of elements using the code in general/manage other than as output to
> stdout. I'll look at hacking it through list.files(), though, if anybody
> wants it back. With the get.GISDBASE(), get.LOCATION(), and get.mapsets(),
> all the pieces are there without writing new code. Have you ever used
> list.GRASS() directly?
Honestly no: being a GRASS user for years, I am probably closer to
system calls than using "new" R commands.
Maybe you just want for comments before hacking list.files().
Best wishes,
Markus
|
|
> > I've submitted a revision to CRAN removing the offending list.GRASS()
> Thanks for the update, I'll update GRASS/R tomorrow.
>
> > I checked 1) that list.GRASS() isn't used in your book, and
I came across this while working through the on-line tutorial:
statsgrass/grass_r_interface.html
in the "Useful commands:" section.
So that should be updated as well, although to what, I wouldn't know.
regards,
Hamish
|
|