How can I display my plots in the Viewer panel with ggplot, plot, ts.plot, etc?

ggplot(prueba1, aes(x=V1, y=V2, group = 1)) + geom_line()

Do you specifically want the Viewer panel rather than the Plots panel?

Yes, please because in the viewer panel its better to visualize the data

Thank you

Here's an example of doing it/

plotObj <- ggplot(data = iris, aes(Petal.Length)) + geom_histogram()

I found this at r - Force RStudio to plot in Viewer - Stack Overflow.

1 Like

Thank you so much for your help!

Best regards!!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.