ggplot2 cannot be found after updating to R 3.6.3


I just updated to R 3.6.3, and am trying to reinstall some packages. All other packages I've tried so far appear to work, but for some reason not ggplot2.
Since I don't really know what in the error message to look for, I just pasted everything.
Would be very thankful for some help!

Installing package into ‘\hsnas6/StaffHome/ekeg/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)

There is a binary version available but the source version is later:
binary source needs_compilation
ggplot2 3.2.1 3.3.0 FALSE

installing the source package ‘ggplot2’

trying URL ''
Content type 'application/x-gzip' length 3031461 bytes (2.9 MB)
downloaded 2.9 MB

CMD.EXE was started with the above path as the current directory.
UNC paths are not supported. Defaulting to Windows directory.

  • installing source package 'ggplot2' ...
    ** package 'ggplot2' successfully unpacked and MD5 sums checked
    ** using staged installation
    ** R
    ** data
    *** moving datasets to lazyload DB
    ** inst
    ** byte-compile and prepare package for lazy loading
    Error in findpack(package, lib.loc) :
    there is no package called 'ggplot2'
    Calls: -> findpack
    Execution halted
    ERROR: lazy loading failed for package 'ggplot2'
  • removing '\hsnas6/StaffHome/ekeg/Documents/R/win-library/3.6/ggplot2'
    Warning in install.packages :
    installation of package ‘ggplot2’ had non-zero exit status

Very often R has troubles installing packages on network drives, I would recommend you to use a local drive for your library folder if possible, that would save you a lot of headaches.

So simple I feel stupid. It would have taken me a lot longer to figure that out myself though, so I guess it would have been even more stupid not to ask.
Thank you a lot for your help!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.