.Last.value stores … the last value

No Comments

Ok, here’s a quick (but handy) one:

The value of the last thing that you printed to the console is stored in the value: .Last.value. So if you’re going along, doing something interactively, and you print some tibble and realize you need to see the whole thing (but you don’t want to do that super expensive left join into the database again), you can do:

And boom! Your tibble prints all nice and neat and filterable (if that’s what you’re in to).

Categories: Getting started