Open

Description
You want to assign custom names to several datasets you are inspecting in the data viewers.
For example,
View(starwars)
View(storms)
View(smiths)
Inside RStudio, those commands open R's data viewer with default names:
Solution {-}
Option 1
View(starwars, "starwars from dplyr")
View(storms, "storms from dplyr")
View(smiths, "smiths from tidyr")
Option 2
starwars %>%
View("starwars from dplyr")
storms %>%
View("storms from dplyr")
smiths %>%
View("smiths from tidyr")
Discussion {-}
Inside View()
you insert a R object and then the title for the data viewer. This is really unnecessary with a few datasets, but when inspecting more than 5 datasets, this comes in handy.
Metadata
Metadata
Assignees
Labels
No labels