I am using Rnotebook basically as an analysis tool.
I habitually type the tibble's name to check its contents.
If there is a huge tibble, the rnotebook.nb.html file becomes very large to generate whole tibble contents.
Thus I should type head(mytibble) to reduce my notebook file for watching the preview.
Is there any way to suppress or reduce the tibble contents of the Rnotebook/Rmarkdown html in global options?
This is an example:
library(tidyverse)
library(tidymodels)
hotels <- read_csv('https://tidymodels.org/start/case-study/hotels.csv')
#head(hotels) # small html generated
hotels # large html generated
splits <- initial_split(hotels, strata = children)
hotel_other <- training(splits)
hotel_test <- testing(splits)
val_set <- validation_split(hotel_other, strata = children, prop = 0.80)
val_set # very large html which can't be reduced by head()