Home

Awesome

Get started with targets in 4 minutes

cloud

The targets R package is a pipeline tool for reproducible computation in statistics and data science. This short example is the one from the 4-minute video on getting started with targets. It also comes up in the walkthrough and functions chapters of the user manual.

Try it out

Visit https://rstudio.cloud/project/3946303 to try out the code in a web browser. No download or installation required.

Files

Usage

  1. library(targets) to load the package.
  2. tar_manifest() and tar_visnetwork() to check the pipeline for correctness.
  3. tar_make() or similar to run the pipeline.
  4. tar_read() to read target output.

Changes