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

Steven Scott @teve@the@b@ye@|@n @end|ng |rom gm@||@com
Tue Jul 21 20:29:47 CEST 2020


You can often find this kind of code on 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> 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> On Behalf
> Of Ben Bolker
> Sent: Tuesday, July 21, 2020 12:54 PM
> To: 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 mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-package-devel
>
> ______________________________________________
> 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 mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel
>

	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list