With the wide-spread adoption of R for data management and analysis, there is huge potential for improving the efficiency of processing data. However, there is a significant learning curve with R that inhibits our ability to learn faster methods. Repetitive tasks in spreadsheets or even in R itself can often be revised to be faster, use less code, and have a simpler output One of the more appealing aspects of other programming languages for data science (Python, C++, SQL) relative to R is the speed that they can execute tasks. However, R has the capacity to function as fast, or better than some of these other languages with some additional parametrization. This workshop will explore the power of “for” loops and parallel computing. These tools, while on the surface may appear intimidating, can be learned quickly with an exceptional payoff in time-saving efficiency. Using a combination of lecture and hands-on activities, this workshop will familiarize yourself with the tools necessary for improving your relationship with R and saving you time. A basic understanding of R is recommended because it will make the content more relevant and understandable. There is no prior knowledge necessarily for parallel computing or programming. Participants should bring a laptop with R already install using Mac, Linux, or Windows operating system (not a tablet, Chromebook, etc.).
Who: The course is aimed at R beginners or experienced analysts.
When: Monday September 27, 2021 @ 5:30 PDT
Where: Virtual. https://ucsb.zoom.us/j/83639325181
Requirements: Participants should use a laptop with a Mac, Linux, or Windows operating system (not a tablet, Chromebook, etc.) with administrative privileges. Ideally, two screens would be beneficial to see the video and your workstation at the same time. However, participation is not necessary and you can simply follow along as we demonstrate.
Contact: Please contact firstname.lastname@example.org for more information.
Notes: Live Notepad
(time in PDT)
|5:30||Introduction - Why Iterate|
|6:50||Debrief and Q/A|
|Windows||Mac OS X||Linux|
|Install R by downloading and running this .exe file from CRAN. Please also install the RStudio IDE.||Install R by downloading and running this .pkg file from CRAN. Please also install the RStudio IDE.||You can download the binary files for your distribution from CRAN. Please also install the RStudio IDE|
Packages we will be using: We recommend you install these ahead of time and ensure they load correctly to reduce troubleshooting in the workshop.
If you enjoyed this workshop and were interested in learning more, we have also run workshops on Logistic Regression, an Introduction to Ecological Analyses, an Introduction to Functions, and other tools for improving speed in R.
You can find similar style workshops, usually that are longer and go into more detail, with Software Carpentry. They have teachers available globally and cover all forms of programming beyond R.
|Center for Urban Environments||University of Toronto|
Copyright © Alessandro Filazzola and Sophie Breitbart 2021