-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tibble::view() error, variable name limitation #4702
Comments
Thank you @benhmin for testing Positron! I'm able to reproduce this issue, sending to Triage. |
Here is the full traceback:
And here is what tibble is doing: eval_tidy(quo(view_fun(!!x, !!title))) |
Oh gosh its inlining the whole data frame 😭 cc @lionel- We should probably do a tibble PR |
I've sent in tidyverse/tibble#1603 to tibble. I'm not sure there is really much for us to try and do here, I vote we close and just let the tibble PR solve this for us |
Thank you so much @DavisVaughan! 🙌 We will close this in favor of the tibble change. |
System details:
Positron and OS details:
Mac OS 14.6.1, ARM/M2
Positron Version: 2024.09.0 (Universal) build 27
Code - OSS Version: 1.92.0
Commit: d996153
Date: 2024-09-11T02:38:46.408Z
Electron: 30.1.2
Chromium: 124.0.6367.243
Node.js: 20.14.0
V8: 12.4.254.20-electron.0
OS: Darwin arm64 23.6.0
Interpreter details: R 4.4.1
Describe the issue:
In Positron it seems that the tibble::view() command does not work for any df above a certain size. The error returned is:
Error in
exists(): ! variable names are limited to 10000 bytes
The length of variable names does not seem to impact the occurrence of the error, rather the size/length of the data frame?
Steps to reproduce the issue:
head(palmerpenguins::penguins, 50) |> tibble::view()
palmerpenguins::penguins |> utils::View()
palmerpenguins::penguins |> tibble::view()
Expected or desired behavior:
would expect the tibble::view() command to appropriately pass objects to either utils::View() or as.data.frame() . . . as described here: https://tibble.tidyverse.org/reference/view.html
Maybe this is an issue with tibble more than with positron, but this problem does not occur in RStudio 2024.04.2+764 on the same machine. This is a very commonly used package (tidyverse) and the view() command typically is used rather than the utils::View() function once the tidyverse is loaded.
The text was updated successfully, but these errors were encountered: