Why? -- see ?dgamma See also the section on including fortran code in "Writing R Extensions," which should be your first port of call for such questions.
If neither of these is what you need, it may be helpful if you explain why not. Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Tue, Jul 21, 2020 at 10:45 AM Wang, Zhu <wan...@uthscsa.edu> 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 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