You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running R-workloads on the open source rstudio-server with vroom and have encountered an issue with empty tibbles.
I'm not sure if this is an rstudio-issue, or a vroom issue, but seems to be pretty specific to vroom, so posting here.
The following code crashes the rserver-session every time:
aa <- data.frame(b = 1:3, c=letters[1:3])
write.csv(aa, "small_data.csv")
tt <- vroom::vroom("small_data.csv")
tt # Contents printed out nicely
View(tt) # Contents displayed ok
ttt <- tt[FALSE,]
ttt # Empty tibble printed out ok
View(ttt) # R crashes
This happens also if I use dplyr's filter to produce the empty tibble, but the above example aims to have minimal other dependencies.
My R-version is 3.6.2
rstudio-server is 1.2.5033 running on debian 10
vroom is at 1.2.1 (1.2.0 has the same issue)
Note: an empty data.frame is displayed ok with View as is an empty tibble not produced by Vroom:
aa <- data.frame(b = 1:3, c=letters[1:3])
aaa <- aa[FALSE, ]
View(aaa) # this works
aa <- tibble::tibble(b = 1:3, c=letters[1:3])
aaa <- aa[FALSE, ]
View(aaa) # this also works
p.s. rstudio on a windows desktop does not crash. (rstudio desktop 1.2.5019, R 3.5.3, vroom 1.2.0)
The text was updated successfully, but these errors were encountered:
I'm running R-workloads on the open source rstudio-server with vroom and have encountered an issue with empty tibbles.
I'm not sure if this is an rstudio-issue, or a vroom issue, but seems to be pretty specific to vroom, so posting here.
The following code crashes the rserver-session every time:
This happens also if I use dplyr's filter to produce the empty tibble, but the above example aims to have minimal other dependencies.
My R-version is 3.6.2
rstudio-server is 1.2.5033 running on debian 10
vroom is at 1.2.1 (1.2.0 has the same issue)
Note: an empty data.frame is displayed ok with View as is an empty tibble not produced by Vroom:
p.s. rstudio on a windows desktop does not crash. (rstudio desktop 1.2.5019, R 3.5.3, vroom 1.2.0)
The text was updated successfully, but these errors were encountered: