Reprex
install.packages("tidyverse") ## general use and data cleaning
library(tidyverse)
library(purrr)
library(lubridate)
library(here)
library(hms)
library(scales)
library(rstudioapi)
install.packages("ggmap")
library(ggmap)
ggplot(data = bikeshare_v8) +
geom_point(mapping = aes(x = ride_id,
y = ride_length))
Task
Analyzing the divvy bikeshare data for the google data analytics course, finding differences between members and casuals.
Problem
Though previously the data could be plotted without incident, ggplot will no longer work. The code chunk still has the left side green bar, and the spinning progress circle is still present in the Rmarkdown output below the code chunk. While this is happening, RAM use keeps accumulating, but even after minutes nothing displayed and the code does not complete.
Solutions Attempted
- running with only
tidyverseinstalled and loaded - no change - running without the project being loaded - just markdown - no change
- making sure windows defender is excluded from R files - no change
Why did this work before, but not now? How can I get ggplot to work again?
ggplot(data = slice(bikeshare_v8, 100))to see the first part of the data and check everything is workingdput(bikeshare_v8)rmarkdown.