Thanks Steven. Zhu
From: Steven Scott <steve.the.bayes...@gmail.com> Sent: Tuesday, July 21, 2020 1:30 PM To: Wang, Zhu <wan...@uthscsa.edu> Cc: Ben Bolker <bbol...@gmail.com>; r-package-devel@r-project.org Subject: Re: [R-pkg-devel] incomplete gamma function Fortran subroutine You can often find this kind of code on netlib.org<http://netlib.org>. Just include it with the fortran code in your package. On Tue, Jul 21, 2020 at 11:22 AM Wang, Zhu <wan...@uthscsa.edu<mailto:wan...@uthscsa.edu>> wrote: Sorry for not making myself clear: The Fortran subroutine in an R package needs to call incomplete gamma function. -----Original Message----- From: R-package-devel <r-package-devel-boun...@r-project.org<mailto:r-package-devel-boun...@r-project.org>> On Behalf Of Ben Bolker Sent: Tuesday, July 21, 2020 12:54 PM To: r-package-devel@r-project.org<mailto:r-package-devel@r-project.org> Subject: Re: [R-pkg-devel] incomplete gamma function Fortran subroutine Is there a reason not to use pgamma(), possibly adjusted by a (de-)normalizing constant? (See detailed notes in ?pgamma) On 7/21/20 1:44 PM, Wang, Zhu wrote: > Hello, > > In an R function within a package, I would like to call a Fortran subroutine > to compute lower gamma function. Any advice will be appreciated. > > Thanks! > > Zhu Wang > > [[alternative HTML version deleted]] > > ______________________________________________ > R-package-devel@r-project.org<mailto:R-package-devel@r-project.org> mailing > list > https://stat.ethz.ch/mailman/listinfo/r-package-devel ______________________________________________ R-package-devel@r-project.org<mailto:R-package-devel@r-project.org> mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel ______________________________________________ R-package-devel@r-project.org<mailto:R-package-devel@r-project.org> mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel [[alternative HTML version deleted]] ______________________________________________ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel