Re: [R] ALLOCATE in a FORTRAN subroutine

2016-03-04 Thread Berend Hasselman
> On 4 Mar 2016, at 08:51, MAURICE Jean - externe > wrote: > > Hi Berend, > > >> The question belongs on the R-devel mailinglist. > I try to find this mailing-list ... > See https://www.r-project.org/mail.html >> You are calling your Fortran routines directly from an R file with .Fortran,

Re: [R] ALLOCATE in a FORTRAN subroutine

2016-03-03 Thread MAURICE Jean - externe
Hi Berend, >The question belongs on the R-devel mailinglist. I try to find this mailing-list ... >You are calling your Fortran routines directly from an R file with .Fortran, I >presume? Yes. Is there another solution (possibility ?) >Declare them with (:,:) or (*,*), allocate and the return t

Re: [R] ALLOCATE in a FORTRAN subroutine

2016-03-03 Thread Berend Hasselman
> On 3 Mar 2016, at 13:57, MAURICE Jean - externe > wrote: > > Hi, > I am 'translating' R functions in FORTRAN subroutines. > > Very often, an R function gives an 'array' as result and you don't have to > bother with the dimension of the array : R creates automatically an array > with the g

[R] ALLOCATE in a FORTRAN subroutine

2016-03-03 Thread MAURICE Jean - externe
Hi, I am 'translating' R functions in FORTRAN subroutines. Very often, an R function gives an 'array' as result and you don't have to bother with the dimension of the array : R creates automatically an array with the good length. It's not really the case with FORTRAN. Until now, I create an ar