bookclub-advr

DSLC Advanced R Book Club
git clone https://git.eamoncaddigan.net/bookclub-advr.git
Log | Files | Refs | README | LICENSE

07.qmd (767B)


      1 ---
      2 title: Cohort 7
      3 ---
      4 {{< video https://www.youtube.com/embed/Luu7JsixQgY >}}
      5 <details>
      6 <summary>Meeting chat log</summary>
      7 ```
      8 00:43:02	Gus Lipkin:	I think I found the definition for `mean`
      9 An R call goes to *a which then calls the C function *b
     10 *a: https://github.com/wch/r-source/blob/trunk/src/library/base/R/mean.R
     11 *b: https://github.com/wch/r-source/blob/trunk/src/library/stats/src/cov.c#L207
     12 It looks like the second pass only happens if `R_FINITE(mean_from_first_pass)` which tries to call `isfinite` from C++ and if it’s not there, it’ll make sure it is a number and is not positive or negative infinity.
     13 00:49:55	Gus Lipkin:	I feel bad for dropping in on the last chapter and getting Collin’s thanks 😅 I wish I’d joined sooner.
     14 ```
     15 </details>