The tv package lively displays data frames during data analysis. It modifies the print method of data frames, tibbles or data tables to also appear in a browser or in the view pane of RStudio.
Turn on the TV and watch for data frames in your R session:
tv::on()
TV is turned off:
tv::off()
in the R sessiontempdir()
is deleted.Turning off will restore the print method of data frames.
remotes::install_github("cynkra/tv")
TV complements the R console output, it does not substitute. R console output will not be modified by TV.
Large or other borderline cases should not delay the workflow. The number of rows or columns shown on TV will be limited accordingly. This should work:
nycflights13::flights
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.