Skip to content
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

repl printing plots in RStudio? #7

Open
njtierney opened this issue Nov 25, 2020 · 1 comment
Open

repl printing plots in RStudio? #7

njtierney opened this issue Nov 25, 2020 · 1 comment

Comments

@njtierney
Copy link
Contributor

Loving capsule::repl() - however it doesn't seem to produce plots when I run them in the console - just wondering if this is something you have a workaround for?

@MilesMcBain
Copy link
Owner

MilesMcBain commented Dec 1, 2020

Thanks for pointing this out. The REPL runs in a separate session that RStudio doesn't know anything about. I would have assumed it would launch its own vanilla R device window for plots but it for some reason it does not.

But I found a work around: When I manually run x11() in the REPL a new graphics device output window is opened and future plot() calls output to the window as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants