Skip to content
This repository was archived by the owner on May 2, 2024. It is now read-only.

Materials for the MIT PML workshop on Efficient Coding in R.

License

Notifications You must be signed in to change notification settings

adamkaplan0/PML_Efficient_Coding

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Efficient Coding in R

Materials for MIT Political Methodology Lab workshop on efficient coding in R co-taught with Tomoya Sasaki. The workshop is split into two parts. First, we will introduce the basics of computational complexity and how memory allocation works in R. With the background out of the way, we motivate and explain the advantages of vectorization using apply and purrr, and finally wrap up with an introduction to parallel processing in R using future through future_apply, furrr, and foreach.

Contents

The presentation source (RMarkdown) and PDF files are in the root folder. Since this is more of a lecture-style workshop, there are no exercises for you to do on your own.

About

Materials for the MIT PML workshop on Efficient Coding in R.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •