[R] Where to find source of C_pbinom?

David Winsemius dwinsemius at comcast.net
Wed Aug 27 09:36:18 CEST 2014

On Aug 26, 2014, at 8:14 PM, Marius Hofert wrote:

> Dear expeRts,
> I would like to find out how R computes pbinom(). A grep in the
> source code reveiled src/library/stats/R/distn.R:146:
> .External(C_pbinom, q, size, prob, lower.tail, log.p), so
> 'C_pbinom' refers to compiled C/C++ code loaded into R. Where can
> I find the source code of C_pbinom?

> www.r-project.org/doc/Rnews/Rnews_2006-4.pdf
Pages 43-54


David Winsemius, MD
Alameda, CA, USA

More information about the R-help mailing list