I wrote below code using R in Kaggle, but output error, I install packages tidy verse and library ggplot2 again, still shew error. I hope to find out a solution here, thanks!
rides_hour %>%
ggplot(data = rides_hour)+
geom_bar(mapping = aes(x = time, y = ride_count, fill = member_casual))
Error in ggplot(., data = rides_hour): object 'rides_hour' not found
Traceback:
1. rides_hour %>% ggplot(data = rides_hour)
2. ggplot(., data = rides_hour)