Skip to content

Instantly share code, notes, and snippets.

@PietrH
Created June 18, 2019 11:31
Show Gist options
  • Save PietrH/1d8857ba4d3244639abb4c7663460d1b to your computer and use it in GitHub Desktop.
Save PietrH/1d8857ba4d3244639abb4c7663460d1b to your computer and use it in GitHub Desktop.
Save intermediate result in dplyr pipe
library(tidyverse)
head(test) %>%
{.->>intermed_result} %>% #save intermediate result
print()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment