I am new to R. I used it briefly a couple years ago but need it again for a stats class. I reopened my old version of it but it was having trouble running certain simple codes so I tried to download packages (knity, dplyr, ggplot2). Unfortunately, I would get lots of different errors as I tried to do this and I figured I should just get the latest version of R. When I did I ran into a new problem. No packages seem to be able to be installed. I simply did library(reader) and it gave:
Error: package or namespace load failed for ‘readr’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
there is no package called ‘hms’
I also tried to install the other packages I mentioned and it either says " installation of package ‘ggplot2’ had non-zero exit status" or "The downloaded source packages are in
Not sure what I am doing! Need help!