"

Viewing dataframes and tibbles the easy way

Piping the data into View()!
Author
Affiliation

Building Stories with Data

Published

March 8, 2022

Today’s top #rstats tip. Want to View a tibble / dataframe / whatever you’ve just created using the command line? Arrow up and complete the line with %>%View (or |> View())

my_data %>% View

So much less fiddly than getting the parentheses either side of it, as in View(my_data)!

Picked this up while screen sharing with charliejhadley to look at data in our current rfortherest project a few weeks ago and I’ve been using it ever since!

Watching others code is such a great way to pick up new tricks you didn’t know you were missing!

Reuse

Citation

For attribution, please cite this work as:
Thompson, Cara. 2022. “Viewing Dataframes and Tibbles the Easy Way.” March 8, 2022. https://www.cararthompson.com/posts/2022-03-08-todays-top-rstats-tip-want/.