Is there a way to print a tibble that contains a list? For example,
t <- tibble(x=list(c(1,2),3))
And I would like to see one row contain 1 and 2 and the second row contain 3, or something to that effect.
If you're on RStudio, the easiest is View(t). You can also print each column: witht$x but that is painful. It's also possible to go to an horizontal format with str(t) or glimpse(t). I don't know of a perfect way.
View(t)
t$x
str(t)
glimpse(t)
Better than I managed. Thanks.
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed. If you have a query related to it or one of the replies, start a new topic and refer back with a link.