[R-pkg-devel] incomplete gamma function Fortran subroutine

Wang, Zhu w@ngz1 @end|ng |rom uth@c@@@edu
Tue Jul 21 20:44:27 CEST 2020


Thanks Steven.

Zhu

From: Steven Scott <steve.the.bayesian using gmail.com>
Sent: Tuesday, July 21, 2020 1:30 PM
To: Wang, Zhu <wangz1 using uthscsa.edu>
Cc: Ben Bolker <bbolker using gmail.com>; r-package-devel using 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 <wangz1 using uthscsa.edu<mailto:wangz1 using 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-bounces using r-project.org<mailto:r-package-devel-bounces using r-project.org>> On Behalf Of Ben Bolker
Sent: Tuesday, July 21, 2020 12:54 PM
To: r-package-devel using r-project.org<mailto:r-package-devel using 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 using r-project.org<mailto:R-package-devel using r-project.org> mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel

______________________________________________
R-package-devel using r-project.org<mailto:R-package-devel using r-project.org> mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel
______________________________________________
R-package-devel using r-project.org<mailto:R-package-devel using r-project.org> mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list