├── README.md └── 2022-12-13-Rstudio-IDE └── ChatNotes.md /README.md: -------------------------------------------------------------------------------- 1 | # posit-webinar-series 2 | --- 3 | The Posit webinar Series is being hosted by the National Stock Assessment Program. It is being lead by [Jeremy Allen](https://github.com/jeremy-allen), our Posit customer success representative with occasional additional guests from Posit. Jeremy has provided [source materials in a GitHub repository](https://github.com/jeremy-allen/posit-webinar-series). 4 | 5 | # Webinars 6 | ## 4 - 9- 2024 -Q+A on object-oriented programming and package development with Hadley Wickham 7 | - [Link to Recording (NOAA internal only)](https://drive.google.com/file/d/1ZZ2FLugdDxgCAX3wwpKN0Aav2uNciT-K/view?usp=drive_link) 8 | - [Link to Questions (NOAA internal only)](https://docs.google.com/document/d/1ZpY845OhSy4Kdto7jhtze3KGWdXvdJ_H_0-XV066tmc/edit#heading=h.psvjba484lb0) 9 | - Description: Hadley Wickham, Chief Scientist at Posit and developer of a number of well known R packages including many in the Tidyverse, will join us for an informal question and answer session on object-oriented programming in R (i.e., using classes) and R package development. 10 | 11 | ## 3 - 12 - 2024 - Reproducible Environments using renv by Ryan Johnson 12 | - [Link to Recording (NOAA internal only)](https://drive.google.com/file/d/1HLIzkbvykndelu2UYR0dEATj316Ha-GT/view?usp=drive_link) 13 | - [Link to Slides (NOAA internal only)](https://drive.google.com/file/d/1eg4LjgLocqyftt62qIQzoRA9E0PAhUZo/view?usp=drive_link) 14 | - Description: The renv (https://rstudio.github.io/renv/index.html) package helps create reproducible environments for your R projects. In this training we will cover: renv overview, Managing project libraries, Initializing, snapshotting, and restoring R project libraries using renv. 15 | 16 | ## 02 - 2024 - Creating and Sharing R Packages by Ryan Johnson 17 | - [Link to Recording (NOAA internal only)](https://drive.google.com/file/d/1YGdLO0axKhSuGdI6rfrPqVC89Oz0Blvs/view?usp=drive_link) 18 | - [Link to Slides (NOAA internal only)](https://drive.google.com/file/d/1y7nFjsCu4_-wQHD-4yOBKbaSRyHati_G/view?usp=drive_link) 19 | - Description: During this 1-hour workshop, users will get hands-on experience creating a simple R package. We'll then discuss ways to share this package using tools such as Posit Package Manager. 20 | 21 | ## 11 - 2023 - Practical Parallel Workflows 22 | 23 | - [Link to Recording (NOAA internal only)](https://drive.google.com/file/d/1vu0-0nPygyBtYWYsDMGiYUMXX9dDuoTz/view?usp=drive_link) 24 | - [Slides from Roger Andrea at Posit](https://colorado.posit.co/rsc/parallel_thinking/Parallel_Thinking.html) 25 | - Description: Come for a more informal session of the Posit Webinar! This month, we'll be discussing Practical Parallel Processing Workflows with Jeremy Allen and guests from Posit. We would love to have you share your experiences (and code) for Parallel Processing, either from R or not. We will focus on easy to parallelize problems (what is colloquially known as "perfectly parallel" or "embarassingly parallel" situations). This will be a more interactive and discussion-based session, with lots of time to demo workflows, and ask and answer questions. The folks from Posit will also share their experiences in Parallel processing. 26 | 27 | ## 10 - 2023 - Rstudio projects with git and the usethis package 28 | 29 | - [Slides](https://colorado.posit.co/rsc/git-rstudio/) 30 | - [Link to recording (NOAA internal only)](https://drive.google.com/file/d/11G7JHdeK0B8uHZjc_dR4qP9igM1cTUX0/view?usp=sharing) 31 | 32 | We will demo making new RStudio projects, new git repositories, adding git to existing projects, using the RStudio UI for changelists, diffing files, staging, committing, and viewing history, using the terminal tab for git functions not built into the UI, some useful functions in the usethis package, and deploying a git-back project to Posit Connect. If time allows, we may talk about SSH and git credentials. 33 | 34 | ## 9 - 2023 - Moving Faster With R: Parallel Processing (overview) 35 | 36 | - [Slides](https://colorado.posit.co/rsc/parallel-processing/parallel.html#/) 37 | - [Link to recording (NOAA internal only)](https://drive.google.com/file/d/1qLdvb84cGwroCZXsjMyL_lq7RFbv1iOH/view?usp=drive_link) 38 | 39 | ## 8 - 2023 - No webinar this month 40 | 41 | ## 7 - 11 - 2023 - Iterating well with purrr by Jenny Bryan 42 | 43 | In this webinar we discuss approaches to iteration in R. We briefly discuss iterative techniques that do not require loops or `purrr::map_*()` functions (for example, group_by, vectorized functions, etc.). Then we explore lists as an object to store information of varying types and sizes and explain how to extract elements from a list via the `purrr::map_*()` family. We'll also touch on how some of these ideas and techniques are also exposed in tidyr. 44 | - [Slides and other resources]( https://github.com/jennybc/2023_raukr-purrr-pkg-dev) 45 | - [Link to recording (NOAA internal only)](https://drive.google.com/file/d/1P_yYtAuKnG-pCfT0tCWdL_zxR-0nhHsR/view?usp=drive_link) 46 | 47 | 48 | ## 6 - 13 - 2023 - Using and creating APIs 49 | - [Slides](https://github.com/kmasiello/getting-started-apis) 50 | - [Link to recording (NOAA internal only)](https://drive.google.com/file/d/1maHQtBCElvmuhTydAz0g2bawS4UUvCjk/view?usp=drive_link) 51 | 52 | ## 5 - 16 - 2023 - Three ways to deploy to Connect 53 | 54 | - [Slides](https://colorado.posit.co/rsc/publishing-to-connect/) 55 | - [Link to Recording (NOAA internal only)](https://drive.google.com/file/d/14Qb0hnjLkff0_9-oejxTXmEoV6TeYdD-/view?usp=sharing) 56 | - [Q+A(NOAA internal only)](https://docs.google.com/spreadsheets/d/1OufuaVTN1u2EfmbO4kWGpZOyT8b9sLa2ECgnGGLBrcI/edit#gid=0) 57 | 58 | ## 4 - 14 - 2023 Show & tell, Q & A 59 | 60 | - [Link to Recording (NOAA internal only)](https://drive.google.com/file/d/1Vek90HEktp2ri-ULBn_0IGhEqyUkhNfH/view?usp=sharing) 61 | - [Q+A spreadsheet (NOAA internal only)](https://docs.google.com/spreadsheets/d/1OufuaVTN1u2EfmbO4kWGpZOyT8b9sLa2ECgnGGLBrcI/edit?usp=sharing) 62 | 63 | ## 3 - 14- 2023 - Shiny and Html Widgets 64 | 65 | - [Link to recording (NOAA internal only)](https://drive.google.com/file/d/17r9nvLsGnAZRCaxjIegF1YTSa30oOTHY/view?usp=share_link) 66 | - [Slides](https://colorado.posit.co/rsc/shiny-and-widgets/shiny-slides.html#/) 67 | - [Jeremy's materials](https://github.com/jeremy-allen/posit-webinar-series/tree/main/04-shiny-and-htmlwidgets) 68 | 69 | ## 2 - 14 - 2023 - Quarto for Reproducible Report Writing. 70 | 71 | - [Link to recording (NOAA internal only)](https://drive.google.com/file/d/10ECqtLRhOGLsRYFYhWO5AEDoaCAf1cX9/view?usp=share_link) 72 | - [Quarto Slides](https://colorado.posit.co/rsc/quarto-reporting/quarto-for-reporting.html) 73 | - [Jeremy's materials](https://github.com/jeremy-allen/posit-webinar-series/tree/main/03-quarto) 74 | 75 | ## 1 - 10 - 2023 - R Markdown and flexdashboard 76 | 77 | - [Link to recording (NOAA internal only)](https://drive.google.com/file/d/15fe7geggmRH0_t9AatAuHHTSB-3lDR_q/view?usp=sharing) 78 | - [Why R markdown document](https://github.com/jeremy-allen/posit-webinar-series/blob/main/02-rmarkdown/why-rmarkdown.Rmd) 79 | 80 | ## 12 - 13 - 2022 - Most Useful Features of RStudio IDE you don't know 81 | 82 | - [Link to recording (internal NOAA only)](https://drive.google.com/file/d/1_YHPBgSqh6Z7vxMjv7_5D7OQb0wJiwCa/view?usp=sharing) 83 | Source Quarto doc 84 | - [Rendered Quarto doc that was presented](https://colorado.posit.co/rsc/the-unknown/into-the-unknown.html) 85 | 86 | ## Future Webinars 87 | 88 | - 04-09-24: Q+A with Hadley Wickham on object-oriented programming and package development 89 | 90 | Have ideas for future topics? Open an issue to let us know! 91 | 92 | 93 | -------------------------------------------------------------------------------- /2022-12-13-Rstudio-IDE/ChatNotes.md: -------------------------------------------------------------------------------- 1 | # Data on how long we have been using R 2 | from Alan Olson to everyone: 8 3 | from Sean Lucey to everyone: 15 4 | from Michelle Masi to everyone: 11 years 5 | from Diana Dishman to everyone: 7 6 | from Debra Duarte to everyone: 5 7 | from Annamaria DeAngelis to everyone: 10 8 | from John Walden to everyone: five 9 | from Christine Stawitz to everyone: R: 11 10 | from Kourtney Burger to everyone: 5 11 | from Molly Stevens to everyone: 11 12 | from Benjamin Richards - NOAA to everyone: 8 13 | from Cassidy to everyone: 9 14 | from Ben Duffin to everyone: 5? 15 | from Dan Hennen to everyone: 15 16 | from George Maynard to everyone: 12 17 | from Jonathan Whitney to everyone: 10 18 | from Paul Moran to everyone: 15+ R 19 | from Jason Boucher to everyone: R - 9 years 20 | from Josh.London to everyone: 12 21 | from Phil Ganz to everyone: 8 22 | from Chris Legault to everyone: ~10 23 | from Andrea Kroetz to everyone: 8 24 | from Kathryn Doering she/her to everyone: 9 25 | from richard.mcbride to everyone: R 20 26 | from Dominique Lazarre to everyone: r-6 27 | from Tim Miller to everyone: 20 28 | from Nick Tolimieri to everyone: 10 29 | from Marjorie to everyone: 4-5 30 | from P Hulson to everyone: 12 31 | from Jenny Ostroff to everyone: about 10 32 | from Matt Callahan to everyone: 7 33 | from Elizabeth Keller to everyone: 9 34 | from Mark Wuenschel to everyone: 10 35 | from Gabriel "Lu" Diaz to everyone: 1 36 | from Ben Galuardi to everyone: 19 using R... scary 37 | from Adam Pollack to everyone: 7 38 | from Annabel Westell to everyone: 6 39 | from mandy.karnauskas to everyone: 15 40 | from Brian Fadely to everyone: R 6 41 | from Beth Matta to everyone: 15 42 | from Lynn deWitt to everyone: 10-15 43 | from Eli Holmes to everyone: 20+ 44 | from Kristin to everyone: using R since before it was R (i.e. S) - 25? 45 | from Rob Cheshire to everyone: 12 46 | from Tom.Good to everyone: R: 4 47 | from Sarah Gaichas she/her to everyone: 20? 48 | from Marie to everyone: 2 49 | from Gina Rappucci to everyone: 6 50 | from Josh to everyone: ~10 51 | from Glenn Zapfe to everyone: 3 52 | from Katie Sweeney she/her to everyone: R - 8-10 53 | from Irina to everyone: 20 54 | from Alisha Gray to everyone: 4 years consistently 55 | from Kim Hyde to everyone: 20 - IDL 56 | from Cynthia Christman to everyone: 2 57 | from Hem Nalini Morzaria-Luna to everyone: It was S not R, so +20 58 | from Devin to everyone: R: 25ish 59 | from Phoebe Woodworth-Jefcoats to everyone: 10+ 60 | from Huihua Lee to everyone: R: 12 61 | from jason baker to everyone: 20ish - I started with S :) 62 | from Eric Hoffmayer to everyone: 7 63 | from Yvonne Barkley to everyone: 8 64 | from Elizabeth Gugliotti to everyone: R: 6 65 | from Kyle Shertzer to everyone: 20+ if you include Splus 66 | from Eli Holmes to everyone: lol I also used S 67 | from Andrea Havron to everyone: R: 10 68 | from Meaghan Bryan to everyone: 15 69 | from Nikolai Klibansky to everyone: R: 14 70 | from Kira Allen to everyone: 6 years in R 71 | from Kristin Marshall to everyone: 10+ 72 | from Sandy Sutherland to everyone: newbie 73 | from Beth.Sharack to everyone: 0 74 | from KB to everyone: 0 75 | from Kim Hyde to everyone: for R, watching for a few years 76 | from Amanda Bradford to everyone: 12 77 | 78 | # What year did you start using Shiny? 79 | from Benjamin Richards - NOAA to everyone: never 80 | from Diana Dishman to everyone: 2023? 81 | from Brian Fadely to everyone: never 82 | from Kristin to everyone: 83 | from Andrea Havron to everyone: 2019 84 | from John Walden to everyone: never 85 | from Jason Boucher to everyone: 2016 86 | from George Maynard to everyone: 2015 87 | from Josh.London to everyone: 2014 88 | from Heather Foley to everyone: 2021 89 | from Carey Kuhn to everyone: never 90 | from Phoebe Woodworth-Jefcoats to everyone: 2021 91 | from Sean Lucey to everyone: never 92 | from Arianna Goodman to everyone: 2018? 93 | from Ben Duffin to everyone: 2018 94 | from Hem Nalini Morzaria-Luna to everyone: 2018 95 | from Jonathan Whitney to everyone: 2025 96 | from Alan Olson to everyone: 2018 97 | from Matt Callahan to everyone: 2020 98 | from Kourtney Burger to everyone: never 99 | from Annamaria DeAngelis to everyone: never 100 | from Marjorie to everyone: never 101 | from Christine Stawitz to everyone: 2018 102 | from Sarah Gaichas she/her to everyone: 2019 103 | from Phil Ganz to everyone: never 104 | from Kira Allen to everyone: never 105 | from david hanisko to everyone: 2018 106 | from Paul Moran to everyone: 2019? 107 | from Kim Hyde to everyone: never 108 | from Laurel Smith to everyone: never 109 | from Sandy Sutherland to everyone: what's shiny? 110 | from Chris Legault to everyone: ~2015 111 | from Devin to everyone: never 112 | from Yvonne Barkley to everyone: not yet 113 | from Amanda Bradford to everyone: never 114 | from Irina to everyone: a few years ago 115 | 116 | # Useful links 117 | from Christine Stawitz to everyone: more info on Shiny: https://shiny.rstudio.com/ 118 | from Christine Stawitz to everyone: here's a cheat sheet with a lot of the keyboard shortcuts: https://posit.co/wp-content/uploads/2022/10/rstudio-ide-1.pdf 119 | from Eli Holmes to everyone: https://twitter.com/jfernandez__/status/1599470590405976064 120 | from Sandy Sutherland to everyone: user guide is https://docs.posit.co/ide/user/ 121 | from Jeremy Posit to everyone: https://colorado.posit.co/rsc/the-unknown/ 122 | 123 | # Q & A / Chatter 124 | from Benjamin Richards - NOAA to everyone: what is the difference between RStudio and RStudio Pro? @Benjamin Richards, RStudio Pro is a paid product with additional features 125 | from Eli Holmes to everyone: I missed how he made the function show up in a new tab 126 | from Ben Duffin to everyone: cmd+click on the function 127 | from Kyle Shertzer to everyone: or ctrl click on pc 128 | from Eli Holmes to everyone: Oh, I like that F1 trick too 129 | from Arianna Goodman to everyone: can you tell us what you're doing to have those arrow ligatures? 130 | from Arianna Goodman to everyone: instead of "<-"? 131 | from Michelle Masi to everyone: I didn't have package emo, but installed package emoji, and the syntax emoji("red heart") works to create the heart 132 | from Hem Nalini Morzaria-Luna to everyone: F2 in the Server 133 | from Kyle Shertzer to everyone: devtools::install_github("hadley/emo") 134 | library(emo) 135 | from George Maynard to everyone: filtering the data is a really cool feature; if you click in a numeric column it shows you a histogram of the values so you can easily look for outliers 136 | from Eli Holmes to everyone: @George how do you see the histogram? I tried with mtcars but no luck 137 | from Sean Lucey to everyone: What are keybindings? 138 | from George Maynard to everyone: I clicked on the "filter" button up at the top and then clicked in the box underneat the variable name 139 | from Eli Holmes to everyone: hm didn't work on my mac 140 | from George Maynard to everyone: wonder if it's a windows-specific thing? or if there's something else you have to do on a mac? 141 | from George Maynard to everyone: just sent you a gchat of what I'm looking at @Eli 142 | from Annamaria DeAngelis to everyone: I got it to work but if you filter a column it doesn't seem like the histogram updates (still shows you all the data) 143 | from Hem Nalini Morzaria-Luna to everyone: How to find the command palette in the Server version? 144 | from Michelle Masi to everyone: shift+ctl+p 145 | from Hem Nalini Morzaria-Luna to everyone: I got lost on how to highlight the function calls 146 | from Michelle Masi to everyone: shift+ctl+p and then search for "highlight" and click the option to highlight what you want 147 | from Hem Nalini Morzaria-Luna to everyone: Is there a good place to look at all of those SHIFT+TAB shortcuts 148 | from Christine Stawitz to everyone: here's a cheat sheet with a lot of the keyboard shortcuts: https://posit.co/wp-content/uploads/2022/10/rstudio-ide-1.pdf 149 | from Eli Holmes to everyone: I think I'll be using chatGPT to write my shiny apps 150 | from Christine Stawitz to everyone: You need to be on RStudio Version 1.4 or higher and be in an .Rmd or .Qmd to get the visual editor 151 | --------------------------------------------------------------------------------