Hi all,
I am a beginner at R and I am trying to install the package "ggplot2", but it does not work.
I get the following error message:
The downloaded binary packages are in
C:\Users\Wagp62\AppData\Local\Temp\Rtmp2NBsX5\downloaded_packages
installing the source package ‘ggplot2’
versuche URL 'https://cran.rstudio.com/src/contrib/ggplot2_3.3.3.tar.gz'
Content type 'application/x-gzip' length 3058840 bytes (2.9 MB)
downloaded 2.9 MB
- installing source package 'ggplot2' ...
** Paket 'ggplot2' erfolgreich entpackt und MD5 Summen überprüft
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
Warnung in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]])
package 'scales' has no 'package.rds' in Meta/
Fehler in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
Objekt 'pkgInfo' nicht gefunden
Ruft auf: ... withCallingHandlers -> loadNamespace -> namespaceImport -> loadNamespace
Ausführung angehalten
ERROR: lazy loading failed for package 'ggplot2' - removing 'C:/Users/Wagp62/OneDrive - BP/Documents/R/win-library/4.0/ggplot2'
Warning in install.packages :
installation of package ‘ggplot2’ had non-zero exit status
The downloaded source packages are in
‘C:\Users\Wagp62\AppData\Local\Temp\Rtmp2NBsX5\downloaded_packages’
As I have read several other discussions in this forum, I already tried to install "rlang". I already tried to code "install.packages("ggplot", dependencies = TRUE)" as well.
I do not know what else to do. Can somebody help me? It is really frustrating ...
Best regards