-
Notifications
You must be signed in to change notification settings - Fork 19
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
Table previews don't appear in Positron #298
Comments
Interesting. There seem to be two issues.
|
@vincentarelbundock Both VSCode and Positron expose Edit: RStudio has this too: https://github.com/rstudio/rstudio/blob/d2713874570f06dccc92a46d15e5939922817c7b/src/cpp/r/R/Options.R#L29 |
Thanks for the suggestion @kylebutts . I'll look into that when I find some time. Note: Posit recommends |
@andrewheiss , FYI, @kylebutts is a superstar and just fixed this for us. His PR is merged and tiny tables appear as expected in the Viewer Pane in my local Positron. Yay! |
The first Positron-related issue!
In Positron (but not VS Code, weirdly), {tinytable} tables don't appear in the preview window and instead cause an error:
Here's a reprex:
It seems like
print.tinytable()
is trying to userstudioapi::viewer()
inside Positron? In VS Code,print.tinytable()
doesn't try to use {rstudioapi} and instead shows the table in the Viewer tab, as expected:The text was updated successfully, but these errors were encountered: