Dear R users, I was wondering from where I could get the C source code to compute pnbinom() and qnorm() ? (I would use R in batch mode but I find the startup time prohibitive, unless there is a way to speed it up) I searched the Web and it clearly is part of the R distribution, I just don't know how to extract them. Thanking you ! Markus Loecher Princeton, NJ [[alternative HTML version deleted]]
On 4/17/2008 9:16 AM, Markus Loecher wrote:> Dear R users, > I was wondering from where I could get the C source code to compute > pnbinom() and qnorm() ? > (I would use R in batch mode but I find the startup time prohibitive, unless > there is a way to speed it up) > I searched the Web and it clearly is part of the R distribution, I just > don't know how to extract them.https://svn.r-project.org/R/trunk/src/nmath/qnorm.c https://svn.r-project.org/R/trunk/src/nmath/pnbinom.c> Thanking you ! > > Markus Loecher > Princeton, NJ > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.-- Chuck Cleland, Ph.D. NDRI, Inc. (www.ndri.org) 71 West 23rd Street, 8th floor New York, NY 10010 tel: (212) 845-4495 (Tu, Th) tel: (732) 512-0171 (M, W, F) fax: (917) 438-0894
>>>>> "ML" == Markus Loecher <mao.loecher at gmail.com> >>>>> on Thu, 17 Apr 2008 09:16:50 -0400 writes:ML> Dear R users, ML> I was wondering from where I could get the C source code to compute ML> pnbinom() and qnorm() ? ML> (I would use R in batch mode but I find the startup time prohibitive, unless ML> there is a way to speed it up) there definitely is, and I wonder why you haven't found it. E.g., Rscript --vanilla --slave --default-packages=stats -e 'pnorm(1.96)' [1] 0.9750021 is very fast. Martin Maechler, ETH Zurich ML> I searched the Web and it clearly is part of the R distribution, I just ML> don't know how to extract them. ML> Thanking you ! ML> Markus Loecher ML> Princeton, NJ ML> [[alternative HTML version deleted]] ML> ______________________________________________ ML> R-help at r-project.org mailing list ML> https://stat.ethz.ch/mailman/listinfo/r-help ML> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html ML> and provide commented, minimal, self-contained, reproducible code.