-
Notifications
You must be signed in to change notification settings - Fork 94
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
Creating multiple plots within a loop can break the Plot pane #727
Comments
From beta user https://github.com/posit-dev/positron-beta/discussions/211 for (i in 1:5) {
plot(rnorm(10), runif(10))
} |
From GH Discussions #4614: library(ggplot2)
library(purrr)
economics_list <- split(economics_long, economics_long$variable)
# In the RStudio IDE: all images get rendered to the Plots pane, and the user
# can navigate back and forth between the rendered images.
#
# In Positron: only the last image gets rendered, it's impossible to navigate
# to previous ones.
#
economics_list |>
imap(
\(df, nm) df |>
ggplot(aes(date, value)) +
geom_line() +
labs(title = nm)
) |
This also affects notebooks: |
Hello! I'm enjoying Positron and I appreciate the work you are doing. This particular issue is one I've run into several times in the past month. It's annoying, but fortunately has a simple workaround. I'm looking forward to Positron matching RStudio for multiple plot generation.
|
This is reported again (I think) in #3363 (comment) |
It seems like only some of the plots will actually render?
Screen.Recording.2023-06-12.at.9.49.39.AM.mov
The text was updated successfully, but these errors were encountered: