bookclub-advr

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

commit fe9f359b9cee495537366636c112c44ced9c2333
parent 1294434bc010f048d1ede6b11cee225bbdaef060
Author: Jon Harmon <jonthegeek@gmail.com>
Date:   Sun, 18 Jun 2023 12:10:52 -0500

Close07 (#55)

* Remove 07 times from README.

* Cohort 7 vids & chats.
Diffstat:
M07_Environments.Rmd | 12+++++++++++-
M08_Conditions.Rmd | 10++++++++--
M09_Functionals.Rmd | 12++++++++++--
M10_Function_factories.Rmd | 10+---------
M11_Function_operators.Rmd | 6++++--
M12_Base_types.Rmd | 5+++--
M13_S3.Rmd | 10+---------
M14_R6.Rmd | 9+++++++--
M15_S4.Rmd | 4++--
M16_Trade-offs.Rmd | 10+---------
M17_Big_picture.Rmd | 10++++++++--
M18_Expressions.Rmd | 8+++++---
M19_Quasiquotation.Rmd | 13+++++++++++--
M20_Evaluation.Rmd | 7++++---
M21_Translating_R_code.Rmd | 12------------
M22_Debugging.Rmd | 10+---------
M23_Measuring_performance.Rmd | 10+---------
M24_Improving_performance.Rmd | 4++--
M25_Rewriting_R_code_in_C++.Rmd | 12++++++++++--
MREADME.md | 2+-
20 files changed, 91 insertions(+), 85 deletions(-)

diff --git a/07_Environments.Rmd b/07_Environments.Rmd @@ -70,9 +70,19 @@ `r knitr::include_url("https://www.youtube.com/embed/PUXrijnsWy0")` <details> - <summary>Meeting chat log</summary> ``` 00:06:49 Ryan Honomichl: https://r4ds.github.io/bookclub-Advanced_R/QandA/docs/environments.html ``` </details> + +`r knitr::include_url("https://www.youtube.com/embed/6xECnY4ro48")` + +<details> +<summary>Meeting chat log</summary> +``` +00:14:44 collinberke: https://ivelasq.rbind.io/blog/macos-rig/index.html +00:21:10 collinberke: https://github.com/tidyverse/dplyr/blob/main/NAMESPACE +01:00:21 collinberke: https://r4ds.hadley.nz/iteration.html +``` +</details> diff --git a/08_Conditions.Rmd b/08_Conditions.Rmd @@ -532,12 +532,18 @@ See [the sub-section in the book](https://adv-r.hadley.nz/conditions.html#condit ### Cohort 7 -`r knitr::include_url("https://www.youtube.com/embed/URL")` +`r knitr::include_url("https://www.youtube.com/embed/t1N6XdidvNo")` <details> <summary>Meeting chat log</summary> ``` -LOG +00:34:09 Ron: Someone did: https://cran.r-project.org/web/packages/comprehenr/vignettes/Introduction.html +00:47:58 collinberke: https://purrr.tidyverse.org/reference/safely.html +00:48:24 Ron: it's a function operator ! +00:49:37 Ron: \(x) length(unique(x) is not too verbose though +00:49:39 Ron: ;) +01:06:50 collinberke: https://colinfay.me/purrr-mappers/ +01:07:45 collinberke: https://colinfay.me/purrr-web-mining/ ``` </details> diff --git a/09_Functionals.Rmd b/09_Functionals.Rmd @@ -476,12 +476,20 @@ A <- list(1,10,"a") ### Cohort 7 -`r knitr::include_url("https://www.youtube.com/embed/URL")` +`r knitr::include_url("https://www.youtube.com/embed/t1N6XdidvNo")` <details> <summary>Meeting chat log</summary> ``` -LOG +00:34:09 Ron: Someone did: https://cran.r-project.org/web/packages/comprehenr/vignettes/Introduction.html +00:47:58 collinberke: https://purrr.tidyverse.org/reference/safely.html +00:48:24 Ron: it's a function operator ! +00:49:37 Ron: \(x) length(unique(x) is not too verbose though +00:49:39 Ron: ;) +01:06:50 collinberke: https://colinfay.me/purrr-mappers/ +01:07:45 collinberke: https://colinfay.me/purrr-web-mining/ ``` </details> + +`r knitr::include_url("https://www.youtube.com/embed/6gY3KZWYC00")` diff --git a/10_Function_factories.Rmd b/10_Function_factories.Rmd @@ -535,12 +535,4 @@ rlang::env_unbind(globalenv(), names(funs)) ### Cohort 7 -`r knitr::include_url("https://www.youtube.com/embed/URL")` - -<details> - -<summary>Meeting chat log</summary> -``` -LOG -``` -</details> +`r knitr::include_url("https://www.youtube.com/embed/7GLyO3IntgE")` diff --git a/11_Function_operators.Rmd b/11_Function_operators.Rmd @@ -241,12 +241,14 @@ walk2( ### Cohort 7 -`r knitr::include_url("https://www.youtube.com/embed/URL")` +`r knitr::include_url("https://www.youtube.com/embed/WDehjcuc7xs")` <details> <summary>Meeting chat log</summary> ``` -LOG +00:18:21 collinberke: Jenny Bryan debugging: https://www.youtube.com/watch?v=vgYS-F8opgE +00:31:10 collinberke: https://purrr.tidyverse.org/reference/slowly.html +00:47:43 Robert Hilly: By guys! ``` </details> diff --git a/12_Base_types.Rmd b/12_Base_types.Rmd @@ -259,12 +259,13 @@ But Advanced R consistently uses numeric to mean integer or double type. ### Cohort 7 -`r knitr::include_url("https://www.youtube.com/embed/URL")` +`r knitr::include_url("https://www.youtube.com/embed/mOpmvc9h_4M")` <details> <summary>Meeting chat log</summary> ``` -LOG +00:35:43 Stone: base::InternalMethods +00:48:04 collinberke: https://cran.r-project.org/doc/manuals/R-exts.html ``` </details> diff --git a/13_S3.Rmd b/13_S3.Rmd @@ -314,12 +314,4 @@ There is a solution in the vectors package: `vctrs::vec_restore()` ### Cohort 7 -`r knitr::include_url("https://www.youtube.com/embed/URL")` - -<details> - -<summary>Meeting chat log</summary> -``` -LOG -``` -</details> +`r knitr::include_url("https://www.youtube.com/embed/zNLx4q8TCKQ")` diff --git a/14_R6.Rmd b/14_R6.Rmd @@ -536,12 +536,17 @@ db_a$file$path == db_b$file$path ### Cohort 7 -`r knitr::include_url("https://www.youtube.com/embed/URL")` +`r knitr::include_url("https://www.youtube.com/embed/Q4FA0BB_PeY")` <details> <summary>Meeting chat log</summary> ``` -LOG +00:06:57 Ron Legere: https://arxiv.org/abs/2303.12712 +00:07:07 Ron Legere: ^^ shows some of the power and limitations +00:39:41 collinberke: https://www.youtube.com/watch?v=3GEFd8rZQgY&list=WL&index=11 +00:49:20 iPhone: Sorry fellas need to jump early. See you next week! +01:05:21 collinberke: https://github.com/r4ds/bookclub-advr +01:09:30 Ron Legere: makeActiveBinding ``` </details> diff --git a/15_S4.Rmd b/15_S4.Rmd @@ -349,12 +349,12 @@ See source code [here](https://github.com/tidyverse/lubridate/blob/0bb49b21c8873 ### Cohort 7 -`r knitr::include_url("https://www.youtube.com/embed/URL")` +`r knitr::include_url("https://www.youtube.com/embed/puvaJtv9gQw")` <details> <summary>Meeting chat log</summary> ``` -LOG +01:09:37 Ron Legere: https://en.wikipedia.org/wiki/Composition_over_inheritance ``` </details> diff --git a/16_Trade-offs.Rmd b/16_Trade-offs.Rmd @@ -369,12 +369,4 @@ $$ ### Cohort 7 -`r knitr::include_url("https://www.youtube.com/embed/URL")` - -<details> - -<summary>Meeting chat log</summary> -``` -LOG -``` -</details> +`r knitr::include_url("https://www.youtube.com/embed/2vxnzqWp-OU")` diff --git a/17_Big_picture.Rmd b/17_Big_picture.Rmd @@ -57,12 +57,18 @@ base::eval() is sufficient for simple evaluation. Use eval_tidy() when you'd lik ### Cohort 7 -`r knitr::include_url("https://www.youtube.com/embed/URL")` +`r knitr::include_url("https://www.youtube.com/embed/MX2vNlvIUFo")` <details> <summary>Meeting chat log</summary> ``` -LOG +00:11:09 Ryan Honomichl: https://medium.com/analytics-vidhya/become-a-better-r-programmer-with-the-awesome-lobstr-package-af97fcd22602 +00:33:03 Ryan Honomichl: https://rlang.r-lib.org/reference/enquo.html +00:37:30 Ryan Honomichl: https://rlang.r-lib.org/reference/topic-multiple-columns.html +00:41:00 Ryan Honomichl: brb +00:44:37 Ron Legere: https://www.rdocumentation.org/packages/srvyr/versions/1.2.0 +00:44:58 Ron Legere: http://gdfe.co/srvyr/ +00:51:51 Stone: https://cran.r-project.org/web/packages/data.table/vignettes/datatable-intro.html ``` </details> diff --git a/18_Expressions.Rmd b/18_Expressions.Rmd @@ -854,12 +854,14 @@ exp1[[1]] ### Cohort 7 -`r knitr::include_url("https://www.youtube.com/embed/URL")` +`r knitr::include_url("https://www.youtube.com/embed/XPs-TI4BYjk")` -<details> +`r knitr::include_url("https://www.youtube.com/embed/8LPw_VTBsmQ")` +<details> <summary>Meeting chat log</summary> ``` -LOG +00:50:48 Stone: https://www.r-bloggers.com/2018/10/quasiquotation-in-r-via-bquote/ +00:58:26 iPhone: See ya next week! ``` </details> diff --git a/19_Quasiquotation.Rmd b/19_Quasiquotation.Rmd @@ -397,12 +397,21 @@ curve2(sin(exp(4 * x)), n = 1000) ### Cohort 7 -`r knitr::include_url("https://www.youtube.com/embed/URL")` +`r knitr::include_url("https://www.youtube.com/embed/8LPw_VTBsmQ")` <details> +<summary>Meeting chat log</summary> +``` +00:50:48 Stone: https://www.r-bloggers.com/2018/10/quasiquotation-in-r-via-bquote/ +00:58:26 iPhone: See ya next week! +``` +</details> + +`r knitr::include_url("https://www.youtube.com/embed/g77Jfl_xrXM")` +<details> <summary>Meeting chat log</summary> ``` -LOG +00:55:22 collinberke: https://rlang.r-lib.org/reference/embrace-operator.html?q=enquo#under-the-hood ``` </details> diff --git a/20_Evaluation.Rmd b/20_Evaluation.Rmd @@ -45,12 +45,13 @@ ### Cohort 7 -`r knitr::include_url("https://www.youtube.com/embed/URL")` +`r knitr::include_url("https://www.youtube.com/embed/g77Jfl_xrXM")` <details> - <summary>Meeting chat log</summary> ``` -LOG +00:55:22 collinberke: https://rlang.r-lib.org/reference/embrace-operator.html?q=enquo#under-the-hood ``` </details> + +`r knitr::include_url("https://www.youtube.com/embed/wPLrafScijE")` diff --git a/21_Translating_R_code.Rmd b/21_Translating_R_code.Rmd @@ -48,15 +48,3 @@ 00:58:43 Arthur Shaw: https://dtplyr.tidyverse.org/articles/translation.html ``` </details> - -### Cohort 7 - -`r knitr::include_url("https://www.youtube.com/embed/URL")` - -<details> - -<summary>Meeting chat log</summary> -``` -LOG -``` -</details> diff --git a/22_Debugging.Rmd b/22_Debugging.Rmd @@ -261,12 +261,4 @@ rlang::last_trace() ### Cohort 7 -`r knitr::include_url("https://www.youtube.com/embed/URL")` - -<details> - -<summary>Meeting chat log</summary> -``` -LOG -``` -</details> +`r knitr::include_url("https://www.youtube.com/embed/T_uFW9xXoJk")` diff --git a/23_Measuring_performance.Rmd b/23_Measuring_performance.Rmd @@ -184,12 +184,4 @@ plot(lb) ### Cohort 7 -`r knitr::include_url("https://www.youtube.com/embed/URL")` - -<details> - -<summary>Meeting chat log</summary> -``` -LOG -``` -</details> +`r knitr::include_url("https://www.youtube.com/embed/4hngR1c9oP4")` diff --git a/24_Improving_performance.Rmd b/24_Improving_performance.Rmd @@ -279,12 +279,12 @@ stopifnot(all.equal(t1, t3)) ### Cohort 7 -`r knitr::include_url("https://www.youtube.com/embed/URL")` +`r knitr::include_url("https://www.youtube.com/embed/rOkrHvN8Uqg")` <details> <summary>Meeting chat log</summary> ``` -LOG +00:23:48 Ron Legere: https://www.mathworks.com/help/matlab/matlab_prog/vectorization.html ``` </details> diff --git a/25_Rewriting_R_code_in_C++.Rmd b/25_Rewriting_R_code_in_C++.Rmd @@ -689,12 +689,20 @@ bench::mark( ### Cohort 7 -`r knitr::include_url("https://www.youtube.com/embed/URL")` +`r knitr::include_url("https://www.youtube.com/embed/Luu7JsixQgY")` <details> <summary>Meeting chat log</summary> ``` -LOG +00:43:02 Gus Lipkin: I think I found the definition for `mean` + +An R call goes to *a which then calls the C function *b + +*a: https://github.com/wch/r-source/blob/trunk/src/library/base/R/mean.R +*b: https://github.com/wch/r-source/blob/trunk/src/library/stats/src/cov.c#L207 + +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. +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. ``` </details> diff --git a/README.md b/README.md @@ -16,7 +16,7 @@ If you would like to present, please see the sign-up sheet for your cohort (link - Cohort 4 (started 2020-10-05, ended 2021-04-26): [meeting videos](https://www.youtube.com/playlist?list=PL3x6DOfs2NGh5cCdh4W2U6Allc6MrUGID) - Cohort 5 (started 2021-03-06, ended 2021-08-31): [meeting videos](https://www.youtube.com/playlist?list=PL3x6DOfs2NGjRvoeE6wS7AWqSA6Sigg5R) - Cohort 6 (started 2022-05-25, ended 2023-01-18): [meeting videos](https://www.youtube.com/playlist?list=PL3x6DOfs2NGjnCxGKeDNJUfPpRFI2hJjv) -- [Cohort 7](https://docs.google.com/spreadsheets/d/1ScrbEw_-vB9DruaJhjtVY8HLQmuNPqyWeOOjmG6OY1M/edit?usp=sharing) (started 2022-10-24): [Mondays, 16:00 CST/CDT](https://www.timeanddate.com/worldclock/converter.html?iso=20221024T210000&p1=24&p2=1440) | [meeting videos](https://youtube.com/playlist?list=PL3x6DOfs2NGi4I1DhjPufFNbqCry_xQLq) +- Cohort 7 (started 2022-10-24, ended 2023-06-13): [meeting videos](https://youtube.com/playlist?list=PL3x6DOfs2NGi4I1DhjPufFNbqCry_xQLq) The slides from the old clubs are in a [separate repository](https://github.com/r4ds/bookclub-Advanced_R).