First of all, thank you! But what do you mean? My code is:
install.packages("ggplot2")
Or am I misunderstanding?
I tried install.packages('pkg', dependencies = TRUE) as well, but I again get an error message:
"In R CMD INSTALL
Warning in install.packages :
installation of package ‘Hmisc’ had non-zero exit status
'\RTCFILE02\MyDocs$\A\My Documents\cds projects'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported. Defaulting to Windows directory.
ERROR: dependencies 'usethis', 'desc', 'httr', 'lifecycle', 'pkgbuild', 'pkgload', 'remotes', 'roxygen2', 'rstudioapi', 'testthat', 'withr' are not available for package 'devtools'
- removing '\RTCFILE02/MyDocs$/A/My Documents/R/win-library/3.5/devtools'
In R CMD INSTALL
Warning in install.packages :
installation of package ‘devtools’ had non-zero exit status
'\RTCFILE02\MyDocs$\A\My Documents\cds projects'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported. Defaulting to Windows directory.
Error: ERROR: no permission to install to directory '\RTCFILE02/MyDocs$/A/My Documents/R/win-library/3.5'
In R CMD INSTALL
Warning in install.packages :
installation of package ‘vdiffr’ had non-zero exit status"