First of all it is complaining:
Warning in install.packages :
'lib = "C:/Program Files/R/R-3.4.3/library"' is not writable
then I set that as working library.What it did was the thing that I copied in my first message and at the end again
** building package indices
** installing vignettes
Warning in file(con, "w") :
cannot open file '\\xxx.local/shared/UsersMyDocs/alijanim/Documents/R/win-library/3.4/ggplot2/doc/index.html': No such file or directory
Error in file(con, "w") : cannot open the connection
ERROR: installing vignettes failed
* removing '\\xxx.local/shared/UsersMyDocs/alijanim/Documents/R/win-library/3.4/ggplot2'
In R CMD INSTALL
Warning in install.packages :
running command '"C:/PROGRA~1/R/R-34~1.3/bin/x64/R" CMD INSTALL -l "\\xxx.local\shared\UsersMyDocs\alijanim\Documents\R\win-library\3.4" C:\Users\alijanim\AppData\Local\Temp\1\Rtmp6fYbJB/downloaded_packages/ggplot2_3.2.0.tar.gz' had status 1
Warning in install.packages :
installation of package ‘ggplot2’ had non-zero exit status
The downloaded source packages are in
‘C:\Users\alijanim\AppData\Local\Temp\1\Rtmp6fYbJB\downloaded_packages’
I have no clue and both of those folders have packages inside which are NOT the same
Should copy all the content of
\xxxlocal \shared\UsersMyDocs\users\Documents\R\win-library\3.4
to
C:/Program Files/R/R-3.4.3/library
?
Here is the screenshot of Tools-> Global Options. I changed the default working directory to
C:/Program Files/R/R-3.4.3/library