Hey hey everyone,
I am super new to ggplot and I am in a new class where we are using it to visualize data for grad school. I am been trying to install ggplot for the last 4 hours and I seem to keep coming up with the same error (below). I think Rstudio and ggplot don't like that my folder has a space in the name. How do I get around this? Any help you can provide is greatly appreciated!
Thanks,
Josh
install.packages("ggplot2")
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:
'RTools: Toolchains for building R and R packages from source on Windows
Installing package into ‘C:/Users/Josh's laptop/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
also installing the dependency ‘withr’
Many lines of txt
Error:
Error: unexpected symbol in "setwd('C:/Users/JOSH'S"
Execution halted
ERROR: lazy loading failed for package 'withr'