Re: [GRASS-dev] Plan to build Package to use GRASS from R

2008-07-02 Thread Rainer M Krug
On Wed, Jul 2, 2008 at 4:45 PM, Hamish <[EMAIL PROTECTED]> wrote: > Paul: >> Flags that are interpreted by the GRASS module option >> parser and have a common meaning to all modules are prefixed >> by --. There is a fixed number of these (see lib/gis/parser.c >> for details). The interpretation of

Re: [GRASS-dev] Plan to build Package to use GRASS from R

2008-07-02 Thread Hamish
Paul: > Flags that are interpreted by the GRASS module option > parser and have a common meaning to all modules are prefixed > by --. There is a fixed number of these (see lib/gis/parser.c > for details). The interpretation of flags with a single - is > defined by individual modules when they call

Re: [GRASS-dev] Plan to build Package to use GRASS from R

2008-07-02 Thread Rainer M Krug
On Wed, Jul 2, 2008 at 4:30 PM, Paul Kelly <[EMAIL PROTECTED]> wrote: > On Wed, 2 Jul 2008, Rainer M Krug wrote: > >> I finally started working on the implementation of grass commands from >> R and most of the translation from the the output from >> --interface-description is working. I just have o

Re: [GRASS-dev] Plan to build Package to use GRASS from R

2008-07-02 Thread Paul Kelly
On Wed, 2 Jul 2008, Rainer M Krug wrote: I finally started working on the implementation of grass commands from R and most of the translation from the the output from --interface-description is working. I just have one question at the moment: some flags require "--" and others "-" and I could no

Re: [GRASS-dev] Plan to build Package to use GRASS from R

2008-07-02 Thread Rainer M Krug
On Wed, Jul 2, 2008 at 4:22 PM, Martin Landa <[EMAIL PROTECTED]> wrote: > Hi, > > 2008/7/2 Rainer M Krug <[EMAIL PROTECTED]>: >> I finally started working on the implementation of grass commands from >> R and most of the translation from the the output from >> --interface-description is working. I

Re: [GRASS-dev] Plan to build Package to use GRASS from R

2008-07-02 Thread Martin Landa
Hi, 2008/7/2 Rainer M Krug <[EMAIL PROTECTED]>: > I finally started working on the implementation of grass commands from > R and most of the translation from the the output from > --interface-description is working. I just have one question at the > moment: some flags require "--" and others "-" a

Re: [GRASS-dev] Plan to build Package to use GRASS from R

2008-07-02 Thread Rainer M Krug
I finally started working on the implementation of grass commands from R and most of the translation from the the output from --interface-description is working. I just have one question at the moment: some flags require "--" and others "-" and I could not fiind any indication in the --interface-de

Re: [GRASS-dev] Plan to build Package to use GRASS from R

2008-02-28 Thread Rainer M Krug
On 28/02/2008, Roger Bivand <[EMAIL PROTECTED]> wrote: > > On Thu, 28 Feb 2008, Hamish wrote: > > > Roger: > >> Some grass modules don't support --interface-description, but I think > >> not many. > > > > r.mapcalc being the primary concern. Most of the remaining rest are > > interactive things whi

Re: [GRASS-dev] Plan to build Package to use GRASS from R

2008-02-28 Thread Roger Bivand
On Thu, 28 Feb 2008, Hamish wrote: Roger: Some grass modules don't support --interface-description, but I think not many. r.mapcalc being the primary concern. Most of the remaining rest are interactive things which wouldn't be useful from R. I don't think it's a huge effort to do something sp

Re: [GRASS-dev] Plan to build Package to use GRASS from R

2008-02-28 Thread Hamish
Roger: > Some grass modules don't support --interface-description, but I think > not many. r.mapcalc being the primary concern. Most of the remaining rest are interactive things which wouldn't be useful from R. I don't think it's a huge effort to do something special for r.mapcalc, chances are you

Re: [GRASS-dev] Plan to build Package to use GRASS from R

2008-02-28 Thread Roger Bivand
On Thu, 28 Feb 2008, Roger Bivand wrote: On Thu, 28 Feb 2008, Rainer M Krug wrote: On 28/02/2008, Roger Bivand <[EMAIL PROTECTED]> wrote: > > On Thu, 28 Feb 2008, Rainer M Krug wrote: > > > > On 28/02/2008, Roger Bivand <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > > Glynn

Re: [GRASS-dev] Plan to build Package to use GRASS from R

2008-02-28 Thread Rainer M Krug
On 28/02/2008, Roger Bivand <[EMAIL PROTECTED]> wrote: > > On Thu, 28 Feb 2008, Rainer M Krug wrote: > > > On 28/02/2008, Roger Bivand <[EMAIL PROTECTED]> wrote: > >> > >> On Thu, 28 Feb 2008, Rainer M Krug wrote: > >> > >> > >>> On 28/02/2008, Roger Bivand <[EMAIL PROTECTED]> wrote: > >

Re: [GRASS-dev] Plan to build Package to use GRASS from R

2008-02-28 Thread Roger Bivand
On Thu, 28 Feb 2008, Rainer M Krug wrote: On 28/02/2008, Roger Bivand <[EMAIL PROTECTED]> wrote: On Thu, 28 Feb 2008, Rainer M Krug wrote: On 28/02/2008, Roger Bivand <[EMAIL PROTECTED]> wrote: Glynn Clements wrote: Rainer M Krug wrote: Sorry for crossposting, but I think this can

Re: [GRASS-dev] Plan to build Package to use GRASS from R

2008-02-28 Thread Rainer M Krug
On 28/02/2008, Roger Bivand <[EMAIL PROTECTED]> wrote: > > On Thu, 28 Feb 2008, Rainer M Krug wrote: > > > > On 28/02/2008, Roger Bivand <[EMAIL PROTECTED]> wrote: > >> > >> > >> > >> > >> Glynn Clements wrote: > >>> > >>> > >>> Rainer M Krug wrote: > >>> > Sorry for crossposting, but I think

Re: [GRASS-dev] Plan to build Package to use GRASS from R

2008-02-28 Thread Roger Bivand
On Thu, 28 Feb 2008, Rainer M Krug wrote: On 28/02/2008, Roger Bivand <[EMAIL PROTECTED]> wrote: Glynn Clements wrote: Rainer M Krug wrote: Sorry for crossposting, but I think this can be of interest for GRASS and R users. I am planning to write a package to make the use of GRASS fr

Re: [GRASS-dev] Plan to build Package to use GRASS from R

2008-02-28 Thread Rainer M Krug
On 28/02/2008, Roger Bivand <[EMAIL PROTECTED]> wrote: > > > > > Glynn Clements wrote: > > > > > > Rainer M Krug wrote: > > > >> Sorry for crossposting, but I think this can be of interest for GRASS > and > >> R > >> users. > >> > >> I am planning to write a package to make the use of GRASS from R

Re: [GRASS-dev] Plan to build Package to use GRASS from R

2008-02-28 Thread Roger Bivand
Glynn Clements wrote: > > > Rainer M Krug wrote: > >> Sorry for crossposting, but I think this can be of interest for GRASS and >> R >> users. >> >> I am planning to write a package to make the use of GRASS from R easier. >> The >> idea is to wrap the system call to execute the GRASS command

Re: [GRASS-dev] Plan to build Package to use GRASS from R

2008-02-27 Thread Rainer M Krug
On 27/02/2008, Glynn Clements <[EMAIL PROTECTED]> wrote: > > > Rainer M Krug wrote: > > > Sorry for crossposting, but I think this can be of interest for GRASS > and R > > users. > > > > I am planning to write a package to make the use of GRASS from R easier. > The > > idea is to wrap the system ca

Re: [GRASS-dev] Plan to build Package to use GRASS from R

2008-02-27 Thread Glynn Clements
Rainer M Krug wrote: > Sorry for crossposting, but I think this can be of interest for GRASS and R > users. > > I am planning to write a package to make the use of GRASS from R easier. The > idea is to wrap the system call to execute the GRASS command into an R > command of the same name. > e.g:

[GRASS-dev] Plan to build Package to use GRASS from R

2008-02-27 Thread Rainer M Krug
Hi Sorry for crossposting, but I think this can be of interest for GRASS and R users. I am planning to write a package to make the use of GRASS from R easier. The idea is to wrap the system call to execute the GRASS command into an R command of the same name. e.g: r.to.vect <- function(..., inter