You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, if I move the library(ggplot2) statement to the "Inject R code" box in the plugin settings or to a pre-r code block, I get the following error message:
Error in ggplot() : could not find function "ggplot"
Execution halted
In this example, it seems as if the package cannot load unless I include it in the original code block. Is this a bug, or am I using these two features incorrectly?
The text was updated successfully, but these errors were encountered:
If I put the following code in an R code block, it will output a scatterplot as expected.
However, if I move the
library(ggplot2)
statement to the "Inject R code" box in the plugin settings or to apre-r
code block, I get the following error message:In this example, it seems as if the package cannot load unless I include it in the original code block. Is this a bug, or am I using these two features incorrectly?
The text was updated successfully, but these errors were encountered: