Re: [Rd] LOGICAL arguments in FORTRAN code

2010-04-08 Thread William Dunlap
> -Original Message- > From: r-devel-boun...@r-project.org > [mailto:r-devel-boun...@r-project.org] On Behalf Of Prof Brian Ripley > Sent: Thursday, April 08, 2010 4:41 AM > To: Berwin A Turlach > Cc: r-devel > Subject: Re: [Rd] LOGICAL arguments in FORTRAN code &g

Re: [Rd] LOGICAL arguments in FORTRAN code

2010-04-08 Thread Prof Brian Ripley
On Thu, 8 Apr 2010, Berwin A Turlach wrote: G'day Brian, On Thu, 8 Apr 2010 12:40:45 +0100 (BST) Prof Brian Ripley wrote: On Thu, 8 Apr 2010, Berwin A Turlach wrote: [...] Thus, given that the port of quadprog existed for quite some time, I am wondering whether it is o.k. to pass R objec

Re: [Rd] LOGICAL arguments in FORTRAN code

2010-04-08 Thread Berwin A Turlach
G'day Brian, On Thu, 8 Apr 2010 12:40:45 +0100 (BST) Prof Brian Ripley wrote: > On Thu, 8 Apr 2010, Berwin A Turlach wrote: [...] > > Thus, given that the port of quadprog existed for quite some time, I > > am wondering whether it is o.k. to pass R objects with storage mode > > logical into F

Re: [Rd] LOGICAL arguments in FORTRAN code

2010-04-08 Thread Prof Brian Ripley
On Thu, 8 Apr 2010, Berwin A Turlach wrote: G'day all, I just took over maintenance of the quadprog package from Kurt Hornik and noticed that one of the FORTRAN routines has an argument that is declared to be a LOGICAL. The R code that calls this routine (via the .Fortran interface) passes the