Hello! My name is Susan and I make clear, to-the-point coding videos and guides.

Learn more about my background and experience at susanbuck.net.

General inquiries, consulting, or video comission requests: mail@codewithsusan.com

Get notified when I post new videos by subscribing on YouTube Code with Susan.

Guides

Show all
R Error in setwd() - cannot change working directory - Troubeshoot the R error 'cannot change working directory' when using R’s setwd command.
R Vector Operations and Loops - Introduces the concept of vector operations in R and contrasts them with traditional for loops.
Custom Functions in R - How to create and use custom functions in R.
Git Version Control in RStudio (Github, Mac) - Setting up Git version control in RStudio, connecting with GitHub, and managing R projects. Covers git setup, RStudio configuration, SSH keys with Github.com, repository setup, and basic workflow.
R Error - Could not find function - Explains what the “could not find function” error in R means and how to fix it.
R for Data Science - Workflow Basics (3) - Learn the fundamentals of R programming via the book R for Data Science. Covers basic syntax including math calculations, creating objects, writing comments, working with functions, and best practices.
R for Data Science - Introduction (1) - This introduction sets the stage for the goals of R for Data Science: teaching you how to import, tidy, transform, visualize, model, and communicate data.
Reshaping Data Wide / Long Format (R Simplified) - Explanation of wide and long format data and how to convert between the two in R.
Import and Clean Data (R Simplified) - Steps to starting a new RStudio project, importing your data, studying its contents and structure, then cleaning it up and preparing it for analysis.
Why You Should Be Using RStudio Projects - RStudio Projects allow you to keep files and scripts organized, avoid working directory confusion, and make work reproducible and portable.
Run ChatGPT in RStudio with chattr - How to integrate a ChatGPT window directly into RStudio using the R package chattr.
Simple setup for R in VSCode instead of RStudio (Mac) - How to configure VSCode as a development environment for R, integrating features such as code completion, linting, and syntax highlighting. Offers a more versatile and performance-focussed alternative to R Studio.