ameresv
September 12, 2019, 7:08pm
1
Hi! I have a problem with ggplot2. When I use it to graph something, takes so much to do it. I don't know why that happen.
Here is an example:
> a <- seq(1,10,1)
> b <- seq(10,100,10)
> df <- data.frame(a,b)
> tictoc::tic()
> df %>% ggplot(aes(a,b)) + geom_line()
> tictoc::toc()
24.38 sec elapsed
I hope you can help me with that.
Regards
Works for me.
library(ggplot2)
library(magrittr)
a <- seq(1,10,1)
b <- seq(10,100,10)
df <- data.frame(a,b)
tictoc::tic()
df %>% ggplot(aes(a,b)) + geom_line()
tictoc::toc()
#> 0.1 sec elapsed
Created on 2019-09-13 by the reprex package (v0.3.0)
mara
September 13, 2019, 11:29am
3
I also can't reproduce this. Are you running this in a fresh R session?
Some system Information could be useful as well
#### System Information:
- RStudio Edition: (Desktop or Server)
- RStudio Version:
- OS Version:
- R Version:
ameresv
September 13, 2019, 2:44pm
4
Thanks for your support. I just reset my computer and after some trials started to work fine.
I realized also that, maybe, the ethernet line which I was connect could case the problem.
Now, It works normally.
Thanks for your concerns.
Regards.
system
Closed
September 20, 2019, 2:44pm
5
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.