Re: [Rd] registering Fortran routines in R packages

2017-05-10 Thread Christophe Dutang
d still avoid > most pitfalls. > > Cheers, Jari Oksanen > > From: R-devel <r-devel-boun...@r-project.org> on behalf of Berend Hasselman > <b...@xs4all.nl> > Sent: 10 May 2017 09:48 > To: Christophe Dutang > Cc: r-devel@r-proje

Re: [Rd] registering Fortran routines in R packages

2017-05-10 Thread Berend Hasselman
> On 10 May 2017, at 08:48, Berend Hasselman wrote: > > Christophe, > >> On 10 May 2017, at 08:08, Christophe Dutang wrote: >> >> Thanks for your email. >> >> I try to change the name in lowercase but it conflicts with a C >> implementation also named

Re: [Rd] registering Fortran routines in R packages

2017-05-10 Thread Jari Oksanen
behalf of Berend Hasselman <b...@xs4all.nl> Sent: 10 May 2017 09:48 To: Christophe Dutang Cc: r-devel@r-project.org Subject: Re: [Rd] registering Fortran routines in R packages Christophe, > On 10 May 2017, at 08:08, Christophe Dutang <duta...@gmail.com> wrote: > > Thanks for your

Re: [Rd] registering Fortran routines in R packages

2017-05-10 Thread Berend Hasselman
Christophe, > On 10 May 2017, at 08:08, Christophe Dutang wrote: > > Thanks for your email. > > I try to change the name in lowercase but it conflicts with a C > implementation also named halton. So I rename the C function halton2() and > sobol2() while the Fortran

Re: [Rd] registering Fortran routines in R packages

2017-05-10 Thread Christophe Dutang
Thanks for your email. I try to change the name in lowercase but it conflicts with a C implementation also named halton. So I rename the C function halton2() and sobol2() while the Fortran function are HALTON() and SOBOL() (I also try lower case in the Fortran code). Unfortunately, it does not

Re: [Rd] registering Fortran routines in R packages

2017-05-09 Thread Berend Hasselman
> On 9 May 2017, at 13:44, Christophe Dutang wrote: > > Dear list, > > I’m trying to register Fortran routines in randtoolbox (in srt/init.c file), > see > https://r-forge.r-project.org/scm/viewvc.php/pkg/randtoolbox/src/init.c?view=markup=rmetrics. > > > Reading >

[Rd] registering Fortran routines in R packages

2017-05-09 Thread Christophe Dutang
Dear list, I’m trying to register Fortran routines in randtoolbox (in srt/init.c file), see https://r-forge.r-project.org/scm/viewvc.php/pkg/randtoolbox/src/init.c?view=markup=rmetrics. Reading https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Registering-native-routines and