Error on View() of data.table with list column with numeric values

rstudio
ide-bug

#1

RStudio View() can inspect a data.table/data.frame with list column. However with the recent preview version 1.2.907, list column with numeric values get an error.

test_dt_1 <- data.table(id = 1:5)
test_dt_1[, list_col := list(list(letters[1:5]))]
test_dt_1$list_col
View(test_dt_1)

test_dt_2 <- data.table(id = 1:5)
test_dt_2[, list_col := list(list(1:5))]
test_dt_2$list_col
View(test_dt_2)

The 2nd example will have this error:

Error in is.finite(x[[idx]]) : 
  default method not implemented for type 'list'
R version 3.5.1 (2018-07-02)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS High Sierra 10.13.6

#2

Works in the daily build so it looks like its been fixed:
https://dailies.rstudio.com/


#3

it does same for me with

> View(tibble::data_frame(x = purrr::rerun(4,matrix(1:4,2,2))))
Error in is.finite(x[[idx]]) : 
  default method not implemented for type 'list'
Session Info

devtools::session_info()
Session info -------------------------------------------------------------
setting value
version R version 3.5.1 (2018-07-02)
system x86_64, darwin15.6.0
ui RStudio (1.2.942)
language (EN)
collate en_US.UTF-8
tz America/New_York
date 2018-08-30

Packages -----------------------------------------------------------------
package * version date source
base * 3.5.1 2018-07-05 local
compiler 3.5.1 2018-07-05 local
datasets * 3.5.1 2018-07-05 local
devtools 1.13.5 2018-02-18 CRAN (R 3.5.0)
digest 0.6.15 2018-01-28 CRAN (R 3.5.0)
graphics * 3.5.1 2018-07-05 local
grDevices * 3.5.1 2018-07-05 local
memoise 1.1.0 2017-04-21 CRAN (R 3.5.0)
methods * 3.5.1 2018-07-05 local
packrat 0.4.9-3 2018-06-01 CRAN (R 3.5.0)
stats * 3.5.1 2018-07-05 local
tools 3.5.1 2018-07-05 local
utils * 3.5.1 2018-07-05 local
withr 2.1.2 2018-03-15 CRAN (R 3.5.0)

Rstudio Version

RStudio.Version()
$citation

To cite RStudio in publications use:

RStudio Team (2018). RStudio: Integrated Development for R.
RStudio, Inc., Boston, MA URL http://www.rstudio.com/.

A BibTeX entry for LaTeX users is

@Manual{,
title = {RStudio: Integrated Development Environment for R},
author = {{RStudio Team}},
organization = {RStudio, Inc.},
address = {Boston, MA},
year = {2018},
url = {http://www.rstudio.com/},
}

$mode
[1] "desktop"

$version
[1] ‘1.2.942’