Open Serenali1108 opened 3 years ago
Close! Be sure to just paste the contents of your clipboard here, not copy and paste what shows up in the RStudio Viewer
Take a look at #13 for an example output
library(dplyr)
#> Warning: package 'dplyr' was built under R version 3.6.2
#>
#> Attaching package: 'dplyr'
#> The following objects are masked from 'package:stats':
#>
#> filter, lag
#> The following objects are masked from 'package:base':
#>
#> intersect, setdiff, setequal, union
ggplot(mtcars, aes(x = as.factor(cyl), y = hp)) +
geom_boxplot()
#> Error in ggplot(mtcars, aes(x = as.factor(cyl), y = hp)): could not find function "ggplot"
Created on 2020-10-06 by the reprex package (v0.3.0)
Great! now try it with library(ggplot2)
added
I tried to close Rstudio and open it up again, and added ggplots, it shows this in my console: Error in x[[n]] : attempt to select less than one element in integerOneIndex Rendering reprex... Error: callr subprocess failed: Timeout was reached: Connection timed out after 10000 milliseconds Type .Last.error.trace to see where the error occured
library(dplyr)
> Warning: package 'dplyr' was built under R version 3.6.2
>
> Attaching package: 'dplyr'
> The following objects are masked from 'package:stats':
>
> filter, lag
> The following objects are masked from 'package:base':
>
> intersect, setdiff, setequal, union
ggplot(mtcars, aes(x = as.factor(cyl), y = hp)) + geom_boxplot()
> Error in ggplot(mtcars, aes(x = as.factor(cyl), y = hp)): could not find function "ggplot"