Re: [Rd] Replace isnan and lgamma in Fortran subroutine in R package

2014-09-23 Thread Wang, Zhu
That patch works flawlessly. Thanks Martyn. Zhu -Original Message- From: Martyn Plummer [mailto:plumm...@iarc.fr] Sent: Tuesday, September 23, 2014 8:39 AM To: Wang, Zhu Cc: r-devel@r-project.org Subject: Re: [Rd] Replace isnan and lgamma in Fortran subroutine in R package Try this

Re: [Rd] Replace isnan and lgamma in Fortran subroutine in R package

2014-09-23 Thread Martyn Plummer
Try this patch. Martyn On Mon, 2014-09-22 at 22:33 +, Wang, Zhu wrote: > Hello, > > I submitted a package which used Fortran functions isnan and lgamma. However, > I was told that: > > isnan and lgamma are not Fortran 95 functions. > > I was asked to write 'cross-platform portable code' an

Re: [Rd] Replace isnan and lgamma in Fortran subroutine in R package

2014-09-23 Thread Martyn Plummer
On Tue, 2014-09-23 at 07:43 +0200, Berend Hasselman wrote: > On 23-09-2014, at 00:33, Wang, Zhu wrote: > > > Hello, > > > > I submitted a package which used Fortran functions isnan and lgamma. > > However, I was told that: > > > > isnan and lgamma are not Fortran 95 functions. > > > > I was a

Re: [Rd] Replace isnan and lgamma in Fortran subroutine in R package

2014-09-22 Thread Berend Hasselman
On 23-09-2014, at 00:33, Wang, Zhu wrote: > Hello, > > I submitted a package which used Fortran functions isnan and lgamma. However, > I was told that: > > isnan and lgamma are not Fortran 95 functions. > > I was asked to write 'cross-platform portable code' and so should not be > writing G

[Rd] Replace isnan and lgamma in Fortran subroutine in R package

2014-09-22 Thread Wang, Zhu
Hello, I submitted a package which used Fortran functions isnan and lgamma. However, I was told that: isnan and lgamma are not Fortran 95 functions. I was asked to write 'cross-platform portable code' and so should not be writing GNU extensions to Fortran. See http://cran.r-project.org/web/ch