Workflow

  • Connect an existing RStudio project to GitHub

    A nice feature in RStudio is that it seamlessly integrates version control via Git and GitHub. Git is a version control system keeps track of changes to your code. GitHub is an online hosting service that facilitates collaborating on code based projects.

  • Move an existing GitHub repo to a new one

    In the event of having to move one github repository a different repository, due to needing to separate professional and personal accounts, the following commands should complete the task. 1 Disconnect the local repository from GitHub The first step is disconnect the local repository from GitHub.

  • R Snippets

    One of my favorite features in RStudio is the code snippet. This feature allows users to save frequently used templates of code that can be recycled for other uses. For example, if there’s a function or chain of piped commands that one uses frequently, instead of writing these from scratch every time, the code snippet can be used to insert the template that can then be filled in with .

  • Parallel parameterized quarto documents

    Let’s suppose we wanted to create a separate Quarto report for each species in the built-in “iris” dataset in R. The “iris” dataset, contains the length and width measurements of the sepal and petal of various iris species.