powered by
An alternative to head(list) which allows limiting of large list components in the console display
headl(x, n = 6, skip = 20, skip2 = 10, ind = "", ind2 = " ")
a list to preview
The number of values to display for the deepest nodes of the list
number of first level elements to display before skipping the remainder
number of subsequent level elements to display before skipping the remainder
indent character for first level elements
indent character for subsequent level elements
prints truncated preview of a large list
# NOT RUN { sub1 <- list(list(1:100),list(2:101),list(101:200),list(201:300),list(301:400)) big.list <- list(sub1,sub1,sub1,sub1,sub1,sub1) headl(sub1) headl(big.list,skip=2) # }
Run the code above in your browser using DataLab