ggthemeassist
ggthemeassist copied to clipboard
Cannot find ggplot when script panel is shown in 'new window'
Most of the time I have my R script open in a separate window (or even on a second monitor), while the rest of R (console, environment, plots, etc.) remain separate from it.
When selecting a ggplot in the detached R script, I get the following error message.
> ggThemeAssist:::ggThemeAssistAddin()
Error in ggThemeAssist:::ggThemeAssistAddin() :
Please highlight a ggplot2 plot before selecting this addon.
Turns out, when reattaching the window to the rest of R Studio, this error disappears. I was wondering whether there is an easy fix to this?
Cheers
I’m taking some days off, will check it when I’m back home.
Best regards Calli
Sent from my iPhone
On 19. Jun 2020, at 17:46, ddauber [email protected] wrote:
Most of the time I have my R script open in a separate window (or even on a second monitor), while the rest of R (console, environment, plots, etc.) remain separate from it.
When selecting a ggplot in the detached R script, I get the following error message.
ggThemeAssist:::ggThemeAssistAddin() Error in ggThemeAssist:::ggThemeAssistAddin() : Please highlight a ggplot2 plot before selecting this addon. Turns out, when reattaching the window to the rest of R Studio, this error disappears. I was wondering whether there is an easy fix to this?
Cheers
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.