I am new to R and would like some assistance with PCA.
I used Datacamp to guide me through the process but run into errors with devtools and ggplot.
> library(devtools)
Error: package or namespace load failed for ‘devtools’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
there is no package called ‘digest’
In addition: Warning message:
package ‘devtools’ was built under R version 3.4.4
> install_github("vqv/ggbiplot")
Error in install_github("vqv/ggbiplot") :
could not find function "install_github"
> library(ggplot)
Error in library(ggplot) : there is no package called ‘ggplot’
I have updated my RStudio and tried to follow instruction from other forums.
Assistance welcomed
Kind regards
Peter