Summary and Setup

This is a lesson about how to use the targets R package for maintaining efficient data analysis workflows.

Local setup


Follow these instructions to install the required software on your computer.

  • Download and install the latest version of R.
  • Download and install RStudio. RStudio is an application (an integrated development environment or IDE) that facilitates the use of R and offers a number of nice additional features. You will need the free Desktop version for your computer.
  • Download and install Quarto. Quarto is a program for authoring documents in a variety of formats using code. It is used in this workshop to generate a dynamic report.
  • Install the necessary R packages with the following command:

R

install.packages(
  c(
    "conflicted",
    "future.callr",
    "future",
    "palmerpenguins",
    "quarto",
    "tarchetypes",
    "targets",
    "tidyverse",
    "visNetwork"
  )
)

Alternative: In the cloud


There is a Posit Cloud instance with RStudio and all necessary packages pre-installed available, so you don’t need to install anything on your own computer. You may need to create an account (free).

Click this link to open: https://posit.cloud/content/6064275