Hi Jason,
Duncan Temple Lang answered a similar question for me last year and wrote
up the method here: http://dsi.ucdavis.edu/Notes/R/FindingNativeCodeInR.html
Basically the C level debugger can be very helpful for figuring out what's
happening.
Best,
Clark
On Fri, Jun 1, 2018 at 4:47 AM, Jaso
Chuck and Greg,
Thanks a lot for your help! I have a much better understanding now of what is
happening “under the hood”.
Kind Regards,
Jason
> On 31 May 2018, at 20:08, Greg Minshall wrote:
>
> Jason,
>
> as Chuck Berry (to whom, *thanks* for 'do {...} while(0)'!) suggested,
> using grep,
Jason,
as Chuck Berry (to whom, *thanks* for 'do {...} while(0)'!) suggested,
using grep, or even grep executed from find, such as
find . -type f -exec grep -H "dpois" \{\} \; | less
(executed from the root of an R source tree), is your friend.
cheers, Greg
> On May 31, 2018, at 8:25 AM, Jason Serviss wrote:
>
> Hello all,
>
> I am trying to get a better understanding of the underlying code for the
> stats::dpois function in R and, specifically, what happens under the hood
> when it is called. I finally managed to track down the C course at:
>
Hello all,
I am trying to get a better understanding of the underlying code for the
stats::dpois function in R and, specifically, what happens under the hood when
it is called. I finally managed to track down the C course at:
https://github.com/wch/r-source/blob/trunk/src/nmath/dpois.c. It woul