repr
repr copied to clipboard
String and byte representations for all kinds of R objects
Hello, this is a fix for printing tibbles with list columns. currently this fails: ```R > head(dplyr::starwars,3) ERROR while rich displaying an object: Error in (function (..., row.names = NULL,...
Closes #170. Happy to add tests/NEWS as seen fit, thanks!
For some reason I tricked myself into thinking `options(repr.matrix.max.cols=Inf)` didn't work, and I tried `options(repr.matrix.max.cols=.Machine$integer.max)` instead, this causes the following error when showing any object: ``` # Warning message in...
```r tibble::tibble(x = c(1, 1, 1, 2, 2, 3), y = 1:6, z = 6:1) |> tidyr::nest(data = c(y, z)) |> repr::repr_html() # Error in (function (..., row.names = NULL,...
Hello, I noticed that the options repr.plot.pointsize doesn't affect the size of the text in my plot options(repr.plot.width = 18, repr.plot.height = 17, repr.plot.pointsize = 24) Thank you for your...
Closes #175 This PR is currently incomplete -- checking it in as a first step towards a solution. Basically I'm suggesting {repr} override the default dimension printing (the style of...
```r options(repr.matrix.max.rows=2L, repr.matrix.max.cols=2L) data.frame(1:3, 4:6, 7:9) ``` ``` ERROR while rich displaying an object: Error in apply(part, 2L, format): dim(X) must have a positive length Traceback: 1. sapply(x, f, simplify...
Noticed while working on #174 ```r writeLines(repr(matrix(ncol = 100L))) # [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9] [,10] [,11] [,12] [,13] [,14] [,15] [,16] [,17] [,18] [,19] [,20]...