bookclub-advr

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

commit 3803e947e50d98dd9a4ba24b186f64dcd9fb8f25
parent 9368efdb6d708da59873219ed48ab484ffe700f3
Author: Jon Harmon <jonthegeek@gmail.com>
Date:   Sat, 21 Jan 2023 10:14:52 -0600

Cohort06 wrap (#47)

* Close out cohort 6.

* Cohort 7 videos through 2023-01-21.
Diffstat:
M01_Introduction.Rmd | 22++++++++++++++++++++++
M02_Names_and_values.Rmd | 23+++++++++++++++++++++++
M03_Vectors.Rmd | 13+++++++++++++
M04_Subsetting.Rmd | 19+++++++++++++++++++
M05_Control_flow.Rmd | 20++++++++++++++++++++
M06_Functions.Rmd | 26++++++++++++++++++++++++++
M07_Environments.Rmd | 38++++++++++++++++++++++++++++++++++++--
M08_Conditions.Rmd | 16+++++++++++++++-
M09_Functionals.Rmd | 20+++++++++++++++++++-
M10_Function_factories.Rmd | 15++++++++++++++-
M11_Function_operators.Rmd | 17++++++++++++++++-
M12_Base_types.Rmd | 17++++++++++++++++-
M13_S3.Rmd | 15++++++++++++++-
M14_R6.Rmd | 21++++++++++++++++++++-
M15_S4.Rmd | 6+++++-
M16_Trade-offs.Rmd | 21++++++++++++++++++++-
M17_Big_picture.Rmd | 26+++++++++++++++++++++++++-
M18_Expressions.Rmd | 6+++++-
M19_Quasiquotation.Rmd | 16+++++++++++++++-
M20_Evaluation.Rmd | 14+++++++++++++-
M21_Translating_R_code.Rmd | 18+++++++++++++++++-
M22_Debugging.Rmd | 27++++++++++++++++++++++++++-
M23_Measuring_performance.Rmd | 6+++++-
M24_Improving_performance.Rmd | 16+++++++++++++++-
M25_Rewriting_R_code_in_C++.Rmd | 23+++++++++++++++++++++--
MREADME.md | 2+-
26 files changed, 441 insertions(+), 22 deletions(-)

diff --git a/01_Introduction.Rmd b/01_Introduction.Rmd @@ -215,3 +215,25 @@ E-->D 01:00:44 Federica Gazzelloni: hi SriRam we are going.. ``` </details> + +### Cohort 7 + +`r knitr::include_url("https://www.youtube.com/embed/vfTg6upHvO4")` +`r knitr::include_url("https://www.youtube.com/embed/3wRyE6-3OKQ")` + +<details> + +<summary>Meeting chat log</summary> +``` +00:20:42 collinberke: https://rich-iannone.github.io/pointblank/ +00:27:36 Ryan Honomichl: brb +00:37:05 collinberke: https://rstudio.github.io/renv/articles/renv.html +00:51:52 Ryan Honomichl: gotta sign off I'll be ready to lead chapter 2 next week! +00:52:43 collinberke: https://r4ds.had.co.nz/iteration.html +00:59:44 collinberke: https://mastering-shiny.org/action-tidy.html +01:00:12 collinberke: https://dplyr.tidyverse.org/articles/programming.html +01:05:02 collinberke: https://usethis.r-lib.org/reference/create_from_github.html +01:05:53 collinberke: https://github.com/r4ds/bookclub-advr +01:06:28 Ron: I gotta run , fun conversation, and nice to meet you Matthew ! +``` +</details> diff --git a/02_Names_and_values.Rmd b/02_Names_and_values.Rmd @@ -49,3 +49,26 @@ 01:07:19 Federica Gazzelloni: Can I use: gc(reset = TRUE) safely? ``` </details> + +### Cohort 7 + +`r knitr::include_url("https://www.youtube.com/embed/kpAUoGO6elE")` + +<details> + +<summary>Meeting chat log</summary> +``` +00:09:40 Ryan Honomichl: https://drdoane.com/three-deep-truths-about-r/ +00:12:51 Robert Hilly: Be right back +00:36:12 Ryan Honomichl: brb +00:41:18 Ron: I tried mapply and also got different answers +00:41:44 collinberke: Interesting, would like to know more what is going on. +00:49:57 Robert Hilly: simple_map <- function(x, f, ...) { + out <- vector("list", length(x)) + for (i in seq_along(x)) { + out[[i]] <- f(x[[i]], ...) + } + out +} +``` +</details> diff --git a/03_Vectors.Rmd b/03_Vectors.Rmd @@ -775,3 +775,16 @@ attr(x, "y") <- 1 01:08:50 Ryan Metcalf: Without further research, this is the "Unix Epoch”. However, varying operating systems use different Epochs. ``` </details> + +### Cohort 7 + +`r knitr::include_url("https://www.youtube.com/embed/QcdByYHo1ms")` + +<details> + +<summary>Meeting chat log</summary> +``` +00:54:07 Ron: https://www.tidyverse.org/blog/2021/03/clock-0-1-0/ +01:14:39 Robert Hilly: https://www.amazon.com/Effective-Pandas-Patterns-Manipulation-Treading/dp/B09MYXXSFM +``` +</details> diff --git a/04_Subsetting.Rmd b/04_Subsetting.Rmd @@ -441,5 +441,24 @@ x1 & y1 ``` </details> +### Cohort 7 +`r knitr::include_url("https://www.youtube.com/embed/LBU-Ew_IM7A")` +`r knitr::include_url("https://www.youtube.com/embed/W9CoQ15NlOc")` + +<details> + +<summary>Meeting chat log</summary> +``` +00:40:18 Ryan Honomichl: What type of vector does each of the following calls to ifelse() return? + +* "ifelse returns a value with the same shape as test which is filled with elements selected from either yes or no depending on whether the element of test is TRUE or FALSE." +00:42:11 Ryan Honomichl: "I recommend assigning the results of an if statement only when the entire expression fits on one line; otherwise it tends to be hard to read" +00:42:46 Ryan Honomichl: * When you use the single argument form without an `else` statement, `if` invisibly returns NULL if the condition is FALSE. + +- Since functions like c() and paste() drop NULL inputs, this allows for a compact expression of certain idioms +00:54:15 collinberke: https://docs.google.com/spreadsheets/d/1ScrbEw_-vB9DruaJhjtVY8HLQmuNPqyWeOOjmG6OY1M/edit?usp=sharing +00:58:46 collinberke: https://www.youtube.com/@safe4democracy/videos +``` +</details> diff --git a/05_Control_flow.Rmd b/05_Control_flow.Rmd @@ -286,3 +286,23 @@ BUT you shouldn't even use for loops for data analysis tasks as `map()` and `app 00:55:43 Trevin: https://stackoverflow.com/questions/13442461/populating-a-data-frame-in-r-in-a-loop ``` </details> + +### Cohort 7 + +`r knitr::include_url("https://www.youtube.com/embed/W9CoQ15NlOc")` + +<details> + +<summary>Meeting chat log</summary> +``` +00:40:18 Ryan Honomichl: What type of vector does each of the following calls to ifelse() return? + +* "ifelse returns a value with the same shape as test which is filled with elements selected from either yes or no depending on whether the element of test is TRUE or FALSE." +00:42:11 Ryan Honomichl: "I recommend assigning the results of an if statement only when the entire expression fits on one line; otherwise it tends to be hard to read" +00:42:46 Ryan Honomichl: * When you use the single argument form without an `else` statement, `if` invisibly returns NULL if the condition is FALSE. + +- Since functions like c() and paste() drop NULL inputs, this allows for a compact expression of certain idioms +00:54:15 collinberke: https://docs.google.com/spreadsheets/d/1ScrbEw_-vB9DruaJhjtVY8HLQmuNPqyWeOOjmG6OY1M/edit?usp=sharing +00:58:46 collinberke: https://www.youtube.com/@safe4democracy/videos +``` +</details> diff --git a/06_Functions.Rmd b/06_Functions.Rmd @@ -525,3 +525,29 @@ ggplot(output_full, aes(time, proportion, color = variable, group = variable)) + 01:08:59 Trevin: Looking forward to it 🙂 ``` </details> + +### Cohort 7 + +`r knitr::include_url("https://www.youtube.com/embed/tz2z9l41IhU")` + +<details> + +<summary>Meeting chat log</summary> +``` +00:31:54 Ronald Legere: https://en.wikipedia.org/wiki/First-class_function +00:42:55 Ronald Legere: https://en.wikipedia.org/wiki/Immediately_invoked_function_expression +``` +</details> + +`r knitr::include_url("https://www.youtube.com/embed/AbdcI57vbcg")` + +<details> + +<summary>Meeting chat log</summary> +``` +00:54:02 Ron: Book gives this simple example of when you might want to use prefix form of an infix operator: lapply(list(1:3, 4:5), `+`, 3) +00:56:49 collinberke: https://colinfay.me/playing-r-infix-functions/#:~:text=What%20are%20infix%20functions%3F,%2C%20%2B%20%2C%20and%20so%20on. +01:07:36 Ron: x[3] <- 33 +01:07:51 Ron: `[<-`(x,3,value =33) +``` +</details> diff --git a/07_Environments.Rmd b/07_Environments.Rmd @@ -33,12 +33,46 @@ ### Cohort 6 -`r knitr::include_url("https://www.youtube.com/embed/URL")` +`r knitr::include_url("https://www.youtube.com/embed/buUaaOu89EQ")` <details> <summary> Meeting chat log </summary> ``` -LOG +00:08:41 Arthur Shaw: Hello, everyone! +00:21:31 Federica Gazzelloni: ?walk: Apply a function to each element of a list or atomic vector +00:23:15 Federica Gazzelloni: ?caller_env: Get properties of the current or caller frame +00:24:56 Trevin: purrr::walk(x, function(x, ce, ace = rlang::caller_env()) { + .ce <- rlang::caller_env() + message("Internal: ") + print(.ce) + message("Argument: ") + print(ace) + message("External: ") + print(ce) + message("Internal: ",paste0(ls(.ce), collapse = "\n")) + message("Argument: ",paste0(ls(ace), collapse = "\n")) + message("External: ",paste0(ls(ce), collapse = "\n")) +}, ce = rlang::caller_env()) +00:29:39 Federica Gazzelloni: ??iwalk: Apply a function to each element of a vector, and its index +00:35:30 Arthur Shaw: https://magrittr.tidyverse.org/reference/tee.html +00:36:05 Federica Gazzelloni: ?`%T>%` +00:46:59 Trevin: ?eval +01:06:03 Federica Gazzelloni: https://cran.r-project.org/web/packages/withr/index.html +01:09:21 Federica Gazzelloni: https://github.com/r-lib/withr +01:10:38 Trevin: I'm okay if we meet next week +01:10:53 Oluwafemi Oyedele: I am ok with next week +``` +</details> + +### Cohort 7 + +`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> diff --git a/08_Conditions.Rmd b/08_Conditions.Rmd @@ -518,12 +518,26 @@ See [the sub-section in the book](https://adv-r.hadley.nz/conditions.html#condit ### Cohort 6 -`r knitr::include_url("https://www.youtube.com/embed/URL")` +`r knitr::include_url("https://www.youtube.com/embed/VwmrbPUQY1k")` <details> <summary> Meeting chat log </summary> ``` +00:19:16 Trevin: https://style.tidyverse.org/error-messages.html +00:20:14 Trevin: More on errors in the design guide: https://design.tidyverse.org/ +01:14:27 Federica Gazzelloni: more info here: https://colinfay.me/learn-shiny-production/ +``` +</details> + +### Cohort 7 + +`r knitr::include_url("https://www.youtube.com/embed/URL")` + +<details> + +<summary>Meeting chat log</summary> +``` LOG ``` </details> diff --git a/09_Functionals.Rmd b/09_Functionals.Rmd @@ -458,12 +458,30 @@ A <- list(1,10,"a") ### Cohort 6 -`r knitr::include_url("https://www.youtube.com/embed/URL")` +`r knitr::include_url("https://www.youtube.com/embed/HmDlvnp6uNQ")` <details> <summary> Meeting chat log </summary> ``` +00:15:49 Matt Dupree: did anyone else lose audio? +00:15:59 Federica Gazzelloni: not me +00:16:02 Arthur Shaw: Not me either +00:16:04 Trevin: okay for me +00:16:27 Matt Dupree: gonna try rejoining +00:43:14 Matt Dupree: oh i didn't know they invisibly returned .x! That's useful! +00:48:29 Arthur Shaw: Very cool trick ! +``` +</details> + +### Cohort 7 + +`r knitr::include_url("https://www.youtube.com/embed/URL")` + +<details> + +<summary>Meeting chat log</summary> +``` LOG ``` </details> diff --git a/10_Function_factories.Rmd b/10_Function_factories.Rmd @@ -522,12 +522,25 @@ rlang::env_unbind(globalenv(), names(funs)) ### Cohort 6 -`r knitr::include_url("https://www.youtube.com/embed/URL")` +`r knitr::include_url("https://www.youtube.com/embed/FUoYwYFqT7Q")` <details> <summary> Meeting chat log </summary> ``` +01:02:25 Trevin: I'm good with combining 👍 +01:02:57 Oluwafemi Oyedele: I agree with combining the chapter!!! +``` +</details> + +### Cohort 7 + +`r knitr::include_url("https://www.youtube.com/embed/URL")` + +<details> + +<summary>Meeting chat log</summary> +``` LOG ``` </details> diff --git a/11_Function_operators.Rmd b/11_Function_operators.Rmd @@ -130,12 +130,27 @@ walk2(urls, path, delay_by(download.file, 0.1), quiet = TRUE) ### Cohort 6 -`r knitr::include_url("https://www.youtube.com/embed/URL")` +`r knitr::include_url("https://www.youtube.com/embed/EPs57es2MsE")` <details> <summary> Meeting chat log </summary> ``` +00:01:42 Oluwafemi Oyedele: Hi, Good Evening !!! +00:05:52 Arthur Shaw: @federica, love the hex stickers behind you. All from rstudio::conf? +00:07:12 Arthur Shaw: I tried doing the same. I had a hard time ordering them. I also thought I'd make the stickers into magnets so that I could rearrange them in future. +00:48:34 Oluwafemi Oyedele: Thank you !!! +``` +</details> + +### Cohort 7 + +`r knitr::include_url("https://www.youtube.com/embed/URL")` + +<details> + +<summary>Meeting chat log</summary> +``` LOG ``` </details> diff --git a/12_Base_types.Rmd b/12_Base_types.Rmd @@ -244,12 +244,27 @@ But Advanced R consistently uses numeric to mean integer or double type. ### Cohort 6 -`r knitr::include_url("https://www.youtube.com/embed/URL")` +`r knitr::include_url("https://www.youtube.com/embed/rfidR7tI_nQ")` <details> <summary> Meeting chat log </summary> ``` +00:35:02 Trevin: sloop (“sail the seas of OOP”) +00:42:40 Ryan Metcalf: Awesome input Trevin! I jumped to the vignette, but didn't see the reference directly. +01:00:01 Trevin: If you're interested there may be a new “R Packages" cohort starting up soon (also a new version of the book coming out soonish as well?) +01:08:23 Oluwafemi Oyedele: Thank you !!! +``` +</details> + +### Cohort 7 + +`r knitr::include_url("https://www.youtube.com/embed/URL")` + +<details> + +<summary>Meeting chat log</summary> +``` LOG ``` </details> diff --git a/13_S3.Rmd b/13_S3.Rmd @@ -301,12 +301,25 @@ There is a solution in the vectors package: `vctrs::vec_restore()` ### Cohort 6 -`r knitr::include_url("https://www.youtube.com/embed/URL")` +`r knitr::include_url("https://www.youtube.com/embed/vzbl2o-MEeQ")` <details> <summary> Meeting chat log </summary> ``` +00:05:30 Oluwafemi Oyedele: Hi everyone, Good Evening !!! +00:09:44 Trevin: I agree Arthur, need to look at that package some more +``` +</details> + +### Cohort 7 + +`r knitr::include_url("https://www.youtube.com/embed/URL")` + +<details> + +<summary>Meeting chat log</summary> +``` LOG ``` </details> diff --git a/14_R6.Rmd b/14_R6.Rmd @@ -35,12 +35,31 @@ ### Cohort 6 -`r knitr::include_url("https://www.youtube.com/embed/URL")` +`r knitr::include_url("https://www.youtube.com/embed/EuTubeJ1VUw")` <details> <summary> Meeting chat log </summary> ``` +00:11:34 Trevin: https://engineering-shiny.org/common-app-caveats.html?q=R6#using-r6-as-data-storage +00:39:36 Federica Gazzelloni: new R7: https://rconsortium.github.io/OOP-WG/ +00:40:04 Federica Gazzelloni: R7 designed to be a successor to S3 and S4 +00:40:40 Federica Gazzelloni: R6: https://r6.r-lib.org/articles/Introduction.html +00:52:44 Trevin: https://advanced-r-solutions.rbind.io/r6.html#controlling-access +01:00:34 Federica Gazzelloni: interesting: https://r-craft.org/r-news/object-oriented-programming-oop-in-r-with-r6-the-complete-guide/ +01:01:58 Trevin: https://hadley.shinyapps.io/cran-downloads/ +01:02:33 Oluwafemi Oyedele: Thank you !!! +``` +</details> + +### Cohort 7 + +`r knitr::include_url("https://www.youtube.com/embed/URL")` + +<details> + +<summary>Meeting chat log</summary> +``` LOG ``` </details> diff --git a/15_S4.Rmd b/15_S4.Rmd @@ -345,11 +345,15 @@ See source code [here](https://github.com/tidyverse/lubridate/blob/0bb49b21c8873 ### Cohort 6 +`r knitr::include_url("https://www.youtube.com/embed/q1-QUFJsbLA")` + +### Cohort 7 + `r knitr::include_url("https://www.youtube.com/embed/URL")` <details> -<summary> Meeting chat log </summary> +<summary>Meeting chat log</summary> ``` LOG ``` diff --git a/16_Trade-offs.Rmd b/16_Trade-offs.Rmd @@ -176,12 +176,31 @@ Use of the operators: ### Cohort 6 -`r knitr::include_url("https://www.youtube.com/embed/URL")` +`r knitr::include_url("https://www.youtube.com/embed/vEButxFIvLw")` <details> <summary> Meeting chat log </summary> ``` +00:11:36 Oluwafemi Oyedele: I have not built anything with them!!! +00:16:31 Arthur Shaw: https://cran.r-project.org/web/packages/sp/index.html +00:19:05 Arthur Shaw: Apparently Hadley asked the same question we're asking several years ago: https://stackoverflow.com/questions/5437238/which-packages-make-good-use-of-s4-objects +00:19:16 Trevin: HA +00:23:54 Trevin: Your audio is breaking up Federica +01:06:58 Federica Gazzelloni: https://mastering-shiny.org/reactive-motivation.html?q=R6#event-driven +01:07:37 Federica Gazzelloni: https://engineering-shiny.org/common-app-caveats.html?q=R6#using-r6-as-data-storage +01:10:52 Oluwafemi Oyedele: Thank you !!! +``` +</details> + +### Cohort 7 + +`r knitr::include_url("https://www.youtube.com/embed/URL")` + +<details> + +<summary>Meeting chat log</summary> +``` LOG ``` </details> diff --git a/17_Big_picture.Rmd b/17_Big_picture.Rmd @@ -33,12 +33,36 @@ ### Cohort 6 -`r knitr::include_url("https://www.youtube.com/embed/URL")` +`r knitr::include_url("https://www.youtube.com/embed/Ddd_43gw8nA")` <details> <summary> Meeting chat log </summary> ``` +00:32:31 Oluwafemi Oyedele: When should eval_tidy() be used instead of eval()? +base::eval() is sufficient for simple evaluation. Use eval_tidy() when you'd like to support expressions referring to the .data pronoun, or when you need to support quosures. +00:37:08 Trevin (he/him): https://rlang.r-lib.org/reference/topic-defuse.html +00:38:38 Federica Gazzelloni: https://rlang.r-lib.org/reference/eval_tidy.html +00:39:57 Arthur Shaw: Tidy eval book: https://bookdown.dongzhuoer.com/tidyverse/tidyeval/ +00:40:14 Arthur Shaw: Also very useful resource: https://dplyr.tidyverse.org/articles/programming.html +00:40:28 Trevin (he/him): https://ggplot2.tidyverse.org/reference/aes.html +00:40:37 Federica Gazzelloni: https://ggplot2.tidyverse.org/reference/tidyeval.html +00:41:22 Oluwafemi Oyedele: It is Tidyverse design +00:49:13 Federica Gazzelloni: https://www.youtube.com/watch?v=2NixH3QAerQ&list=PL3x6DOfs2NGi9lH7q-phZlPrl6HKXYDbn&index=15 +00:50:13 Federica Gazzelloni: Minute: 17:04 +00:54:03 Federica Gazzelloni: con <- DBI::dbConnect(RSQLite::SQLite(), filename = ":memory:") +00:54:18 Federica Gazzelloni: DBI::dbDisconnect(con) +``` +</details> + +### Cohort 7 + +`r knitr::include_url("https://www.youtube.com/embed/URL")` + +<details> + +<summary>Meeting chat log</summary> +``` LOG ``` </details> diff --git a/18_Expressions.Rmd b/18_Expressions.Rmd @@ -424,11 +424,15 @@ exp1[[1]] ### Cohort 6 +`r knitr::include_url("https://www.youtube.com/embed/K8w28ee3CR8")` + +### Cohort 7 + `r knitr::include_url("https://www.youtube.com/embed/URL")` <details> -<summary> Meeting chat log </summary> +<summary>Meeting chat log</summary> ``` LOG ``` diff --git a/19_Quasiquotation.Rmd b/19_Quasiquotation.Rmd @@ -245,12 +245,26 @@ Have time; will read: ### Cohort 6 -`r knitr::include_url("https://www.youtube.com/embed/URL")` +`r knitr::include_url("https://www.youtube.com/embed/OBodjc80y-E")` <details> <summary> Meeting chat log </summary> ``` +01:02:07 Trevin: Yeah, that was a great workshop +01:02:18 Trevin: Glad they posted the resources online +01:06:39 Trevin: Thank you! +``` +</details> + +### Cohort 7 + +`r knitr::include_url("https://www.youtube.com/embed/URL")` + +<details> + +<summary>Meeting chat log</summary> +``` LOG ``` </details> diff --git a/20_Evaluation.Rmd b/20_Evaluation.Rmd @@ -33,12 +33,24 @@ ### Cohort 6 -`r knitr::include_url("https://www.youtube.com/embed/URL")` +`r knitr::include_url("https://www.youtube.com/embed/8FT2BA18Ghg")` <details> <summary> Meeting chat log </summary> ``` +01:00:42 Trevin: They just want to help you present that’s all +``` +</details> + +### Cohort 7 + +`r knitr::include_url("https://www.youtube.com/embed/URL")` + +<details> + +<summary>Meeting chat log</summary> +``` LOG ``` </details> diff --git a/21_Translating_R_code.Rmd b/21_Translating_R_code.Rmd @@ -35,12 +35,28 @@ ### Cohort 6 -`r knitr::include_url("https://www.youtube.com/embed/URL")` +`r knitr::include_url("https://www.youtube.com/embed/_-uwFjO5CyM")` <details> <summary> Meeting chat log </summary> ``` +00:30:16 Arthur Shaw: https://www.w3schools.com/html/html_entities.asp +00:32:29 Arthur Shaw: Beta symbol in HTML: &Beta; +00:56:55 Arthur Shaw: https://dbplyr.tidyverse.org/articles/translation-function.html +00:57:48 Arthur Shaw: https://dtplyr.tidyverse.org/index.html +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 @@ -236,12 +236,37 @@ rlang::last_trace() ### Cohort 6 -`r knitr::include_url("https://www.youtube.com/embed/URL")` +`r knitr::include_url("https://www.youtube.com/embed/YvT-knh1baA")` <details> <summary> Meeting chat log </summary> ``` +00:12:43 Trevin Flickinger: Hello everyone! +00:13:03 Oluwafemi Oyedele: Hello, Good evening!!! +00:22:10 Trevin Flickinger: My connection is slow so I’ll be in the chat +00:32:45 Trevin Flickinger: If you start with “continue” it should error out after the first call +00:56:18 Trevin Flickinger: Sys.frame(-1) shows it goes back one frame +00:59:55 fg: thanks +01:03:11 Arthur Shaw: Anyone else lose the presentation? +01:03:20 fg: yes +01:03:22 fg: ? +01:04:26 Trevin Flickinger: I thought that was my internet connection +01:05:07 Trevin Flickinger: Thank you! +01:08:42 Trevin Flickinger: I need to use debug( ) more as well +01:10:15 Trevin Flickinger: 21st works for me +01:10:29 Oluwafemi Oyedele: Same here!!! +``` +</details> + +### Cohort 7 + +`r knitr::include_url("https://www.youtube.com/embed/URL")` + +<details> + +<summary>Meeting chat log</summary> +``` LOG ``` </details> diff --git a/23_Measuring_performance.Rmd b/23_Measuring_performance.Rmd @@ -180,11 +180,15 @@ plot(lb) ### Cohort 6 +`r knitr::include_url("https://www.youtube.com/embed/d_pzz_AsoRQ")` + +### Cohort 7 + `r knitr::include_url("https://www.youtube.com/embed/URL")` <details> -<summary> Meeting chat log </summary> +<summary>Meeting chat log</summary> ``` LOG ``` diff --git a/24_Improving_performance.Rmd b/24_Improving_performance.Rmd @@ -265,12 +265,26 @@ stopifnot(all.equal(t1, t3)) ### Cohort 6 -`r knitr::include_url("https://www.youtube.com/embed/URL")` +`r knitr::include_url("https://www.youtube.com/embed/UaXimKd3vg8")` <details> <summary> Meeting chat log </summary> ``` +00:24:42 Arthur Shaw: I wonder if there's a task view for R Universe: https://r-universe.dev/search/ +01:01:13 Arthur Shaw: https://www.alexejgossmann.com/benchmarking_r/ +01:04:34 Trevin: I agree that the chapter is a good jumping off point. Gonna have to dig into some of the listed resources 😄 +``` +</details> + +### Cohort 7 + +`r knitr::include_url("https://www.youtube.com/embed/URL")` + +<details> + +<summary>Meeting chat log</summary> +``` LOG ``` </details> diff --git a/25_Rewriting_R_code_in_C++.Rmd b/25_Rewriting_R_code_in_C++.Rmd @@ -529,12 +529,31 @@ with Rcpp modules](https://cran.rstudio.com/web/packages/Rcpp/vignettes/Rcpp-mod ### Cohort 6 -`r knitr::include_url("https://www.youtube.com/embed/URL")` +`r knitr::include_url("https://www.youtube.com/embed/hyVK08jXiYw")` <details> <summary>Meeting chat log</summary> +``` +00:10:13 Arthur Shaw: Did things freeze for anyone else? +00:55:40 Federica Gazzelloni: https://en.cppreference.com/w/cpp/container +00:57:44 Federica Gazzelloni: https://dirk.eddelbuettel.com/blog/2011/07/14/ +01:07:33 Trevin: I don’t have experience +01:07:54 Oluwafemi Oyedele: Same here!!! +01:11:57 Arthur Shaw: Does anyone know any packages that use C++? The one that comes to mind for me is haven, which uses a C++ library +01:12:30 Trevin: When I was looking, one that stood out to me was rstan +01:13:02 Arthur Shaw: Reacted to "When I was looking, ..." with 👍 +``` +</details> + +### Cohort 7 - LOG +`r knitr::include_url("https://www.youtube.com/embed/URL")` +<details> + +<summary>Meeting chat log</summary> +``` +LOG +``` </details> diff --git a/README.md b/README.md @@ -15,7 +15,7 @@ If you would like to present, please see the sign-up sheet for your cohort (link - Cohort 3 (started 2020-08-04, ended 2021-03-22): [meeting videos](https://www.youtube.com/playlist?list=PL3x6DOfs2NGhUCEVefMkCEiJKE_C-gwV5) - 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](https://docs.google.com/spreadsheets/d/1_WFY82UxAdvP4GUdZ2luh15quwdO1n0Km3Q0tfYuqvc/edit?usp=sharing) (started 2022-05-25): [Wednesdays, 13:00 CST/CDT](https://www.timeanddate.com/worldclock/converter.html?iso=20220525T180000&p1=24&p2=215) | [meeting videos](https://www.youtube.com/playlist?list=PL3x6DOfs2NGjnCxGKeDNJUfPpRFI2hJjv) +- 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) The slides from the old clubs are in a [separate repository](https://github.com/r4ds/bookclub-Advanced_R).