You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
You want to assign custom names to several datasets you are inspecting in the data viewers.
For example,
Inside RStudio, those commands open R's data viewer with default names:
Solution {-}
Option 1
Option 2
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.The text was updated successfully, but these errors were encountered: