Hallo,
für ein Statistik-Modul arbeite ich mit dem RStudio (https://www.rstudio.com/categories/rstudio-ide/ ).
Dort soll ich eine Excel-Tabelle importieren. Versuche ich das, erhalte ich den Hinweis, dass die Pakete 'readxl' und 'Rcpp' nachinstalliert werden müssen. Bestätige ich das, erscheint in der Konsole ein ellenlanges Installationsprotokoll:
** Installing R Package Dependencies for Excel Import: 'readxl', 'Rcpp' [1/5] Installing cellranger... Installiere Paket nach ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2’ (da ‘lib’ nicht spezifiziert) installiere auch Abhängigkeiten ‘lifecycle’, ‘pillar’, ‘rlang’, ‘vctrs’, ‘tibble’ versuche URL 'https://cloud.r-project.org/src/contrib/lifecycle_1.0.3.tar.gz' Content type 'application/x-gzip' length 106854 bytes (104 KB) ================================================== downloaded 104 KB versuche URL 'https://cloud.r-project.org/src/contrib/pillar_1.8.1.tar.gz' Content type 'application/x-gzip' length 479977 bytes (468 KB) ================================================== downloaded 468 KB versuche URL 'https://cloud.r-project.org/src/contrib/rlang_1.0.6.tar.gz' Content type 'application/x-gzip' length 742508 bytes (725 KB) ================================================== downloaded 725 KB versuche URL 'https://cloud.r-project.org/src/contrib/vctrs_0.5.1.tar.gz' Content type 'application/x-gzip' length 959562 bytes (937 KB) ================================================== downloaded 937 KB versuche URL 'https://cloud.r-project.org/src/contrib/tibble_3.1.8.tar.gz' Content type 'application/x-gzip' length 672336 bytes (656 KB) ================================================== downloaded 656 KB versuche URL 'https://cloud.r-project.org/src/contrib/cellranger_1.1.0.tar.gz' Content type 'application/x-gzip' length 63857 bytes (62 KB) ================================================== downloaded 62 KB * installing *source* package ‘rlang’ ... ** Paket ‘rlang’ erfolgreich entpackt und MD5 Summen überprüft ** using staged installation gcc -I"/usr/share/R/include" -DNDEBUG -I./rlang/ -fvisibility=hidden -fpic -g -O2 -ffile-prefix-map=/build/r-base-Faorqz/r-base-4.2.2.20221110=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c capture.c -o capture.o ** libs gcc -I"/usr/share/R/include" -DNDEBUG -I./rlang/ -fvisibility=hidden -fpic -g -O2 -ffile-prefix-map=/build/r-base-Faorqz/r-base-4.2.2.20221110=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c internal.c -o internal.o g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I./rlang/ -fpic -g -O2 -ffile-prefix-map=/build/r-base-Faorqz/r-base-4.2.2.20221110=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c rlang-rcc.cpp -o rlang-rcc.o /bin/bash: Zeile 1: g++: Befehl nicht gefunden make: *** [/usr/lib/R/etc/Makeconf:178: rlang-rcc.o] Fehler 127 ERROR: compilation failed for package ‘rlang’ * removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/rlang’ ERROR: dependency ‘rlang’ is not available for package ‘lifecycle’ * removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/lifecycle’ ERROR: dependencies ‘lifecycle’, ‘rlang’ are not available for package ‘vctrs’ * removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/vctrs’ ERROR: dependencies ‘lifecycle’, ‘rlang’, ‘vctrs’ are not available for package ‘pillar’ * removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/pillar’ ERROR: dependencies ‘lifecycle’, ‘pillar’, ‘rlang’, ‘vctrs’ are not available for package ‘tibble’ * removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/tibble’ [2/5] Installing tibble... ERROR: dependency ‘tibble’ is not available for package ‘cellranger’ * removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/cellranger’ Die heruntergeladenen Quellpakete sind in ‘/tmp/Rtmpd8EYme/downloaded_packages’ Installiere Paket nach ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2’ (da ‘lib’ nicht spezifiziert) installiere auch Abhängigkeiten ‘lifecycle’, ‘pillar’, ‘rlang’, ‘vctrs’ versuche URL 'https://cloud.r-project.org/src/contrib/lifecycle_1.0.3.tar.gz' Content type 'application/x-gzip' length 106854 bytes (104 KB) ================================================== downloaded 104 KB versuche URL 'https://cloud.r-project.org/src/contrib/pillar_1.8.1.tar.gz' Content type 'application/x-gzip' length 479977 bytes (468 KB) ================================================== downloaded 468 KB versuche URL 'https://cloud.r-project.org/src/contrib/rlang_1.0.6.tar.gz' Content type 'application/x-gzip' length 742508 bytes (725 KB) ================================================== downloaded 725 KB versuche URL 'https://cloud.r-project.org/src/contrib/vctrs_0.5.1.tar.gz' Content type 'application/x-gzip' length 959562 bytes (937 KB) ================================================== downloaded 937 KB versuche URL 'https://cloud.r-project.org/src/contrib/tibble_3.1.8.tar.gz' Content type 'application/x-gzip' length 672336 bytes (656 KB) ================================================== downloaded 656 KB * installing *source* package ‘rlang’ ... ** Paket ‘rlang’ erfolgreich entpackt und MD5 Summen überprüft ** using staged installation ** libs gcc -I"/usr/share/R/include" -DNDEBUG -I./rlang/ -fvisibility=hidden -fpic -g -O2 -ffile-prefix-map=/build/r-base-Faorqz/r-base-4.2.2.20221110=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c capture.c -o capture.o gcc -I"/usr/share/R/include" -DNDEBUG -I./rlang/ -fvisibility=hidden -fpic -g -O2 -ffile-prefix-map=/build/r-base-Faorqz/r-base-4.2.2.20221110=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c internal.c -o internal.o g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I./rlang/ -fpic -g -O2 -ffile-prefix-map=/build/r-base-Faorqz/r-base-4.2.2.20221110=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c rlang-rcc.cpp -o rlang-rcc.o /bin/bash: Zeile 1: g++: Befehl nicht gefunden make: *** [/usr/lib/R/etc/Makeconf:178: rlang-rcc.o] Fehler 127 ERROR: compilation failed for package ‘rlang’ * removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/rlang’ ERROR: dependency ‘rlang’ is not available for package ‘lifecycle’ * removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/lifecycle’ ERROR: dependencies ‘lifecycle’, ‘rlang’ are not available for package ‘vctrs’ * removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/vctrs’ ERROR: dependencies ‘lifecycle’, ‘rlang’, ‘vctrs’ are not available for package ‘pillar’ * removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/pillar’ ERROR: dependencies ‘lifecycle’, ‘pillar’, ‘rlang’, ‘vctrs’ are not available for package ‘tibble’ * removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/tibble’ [3/5] Installing progress... Die heruntergeladenen Quellpakete sind in ‘/tmp/Rtmpd8EYme/downloaded_packages’ Installiere Paket nach ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2’ (da ‘lib’ nicht spezifiziert) installiere auch Abhängigkeiten ‘ellipsis’, ‘lifecycle’, ‘rlang’, ‘vctrs’, ‘hms’ versuche URL 'https://cloud.r-project.org/src/contrib/ellipsis_0.3.2.tar.gz' Content type 'application/x-gzip' length 8066 bytes ================================================== downloaded 8066 bytes versuche URL 'https://cloud.r-project.org/src/contrib/lifecycle_1.0.3.tar.gz' Content type 'application/x-gzip' length 106854 bytes (104 KB) ================================================== downloaded 104 KB versuche URL 'https://cloud.r-project.org/src/contrib/rlang_1.0.6.tar.gz' Content type 'application/x-gzip' length 742508 bytes (725 KB) ================================================== downloaded 725 KB versuche URL 'https://cloud.r-project.org/src/contrib/vctrs_0.5.1.tar.gz' Content type 'application/x-gzip' length 959562 bytes (937 KB) ================================================== downloaded 937 KB versuche URL 'https://cloud.r-project.org/src/contrib/hms_1.1.2.tar.gz' Content type 'application/x-gzip' length 43270 bytes (42 KB) ================================================== downloaded 42 KB versuche URL 'https://cloud.r-project.org/src/contrib/progress_1.2.2.tar.gz' Content type 'application/x-gzip' length 29506 bytes (28 KB) ================================================== downloaded 28 KB * installing *source* package ‘rlang’ ... ** Paket ‘rlang’ erfolgreich entpackt und MD5 Summen überprüft ** using staged installation gcc -I"/usr/share/R/include" -DNDEBUG -I./rlang/ -fvisibility=hidden -fpic -g -O2 -ffile-prefix-map=/build/r-base-Faorqz/r-base-4.2.2.20221110=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c capture.c -o capture.o ** libs gcc -I"/usr/share/R/include" -DNDEBUG -I./rlang/ -fvisibility=hidden -fpic -g -O2 -ffile-prefix-map=/build/r-base-Faorqz/r-base-4.2.2.20221110=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c internal.c -o internal.o g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I./rlang/ -fpic -g -O2 -ffile-prefix-map=/build/r-base-Faorqz/r-base-4.2.2.20221110=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c rlang-rcc.cpp -o rlang-rcc.o /bin/bash: Zeile 1: g++: Befehl nicht gefunden make: *** [/usr/lib/R/etc/Makeconf:178: rlang-rcc.o] Fehler 127 ERROR: compilation failed for package ‘rlang’ * removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/rlang’ ERROR: dependency ‘rlang’ is not available for package ‘ellipsis’ * removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/ellipsis’ ERROR: dependency ‘rlang’ is not available for package ‘lifecycle’ * removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/lifecycle’ ERROR: dependencies ‘lifecycle’, ‘rlang’ are not available for package ‘vctrs’ * removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/vctrs’ ERROR: dependencies ‘ellipsis’, ‘lifecycle’, ‘rlang’, ‘vctrs’ are not available for package ‘hms’ * removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/hms’ [4/5] Installing readxl... ERROR: dependency ‘hms’ is not available for package ‘progress’ * removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/progress’ Die heruntergeladenen Quellpakete sind in ‘/tmp/Rtmpd8EYme/downloaded_packages’ Installiere Paket nach ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2’ (da ‘lib’ nicht spezifiziert) installiere auch Abhängigkeiten ‘ellipsis’, ‘lifecycle’, ‘pillar’, ‘rlang’, ‘vctrs’, ‘hms’, ‘cellranger’, ‘tibble’, ‘progress’ versuche URL 'https://cloud.r-project.org/src/contrib/ellipsis_0.3.2.tar.gz' Content type 'application/x-gzip' length 8066 bytes ================================================== downloaded 8066 bytes versuche URL 'https://cloud.r-project.org/src/contrib/lifecycle_1.0.3.tar.gz' Content type 'application/x-gzip' length 106854 bytes (104 KB) ================================================== downloaded 104 KB versuche URL 'https://cloud.r-project.org/src/contrib/pillar_1.8.1.tar.gz' Content type 'application/x-gzip' length 479977 bytes (468 KB) ================================================== downloaded 468 KB versuche URL 'https://cloud.r-project.org/src/contrib/rlang_1.0.6.tar.gz' Content type 'application/x-gzip' length 742508 bytes (725 KB) ================================================== downloaded 725 KB versuche URL 'https://cloud.r-project.org/src/contrib/vctrs_0.5.1.tar.gz' Content type 'application/x-gzip' length 959562 bytes (937 KB) ================================================== downloaded 937 KB versuche URL 'https://cloud.r-project.org/src/contrib/hms_1.1.2.tar.gz' Content type 'application/x-gzip' length 43270 bytes (42 KB) ================================================== downloaded 42 KB versuche URL 'https://cloud.r-project.org/src/contrib/cellranger_1.1.0.tar.gz' Content type 'application/x-gzip' length 63857 bytes (62 KB) ================================================== downloaded 62 KB versuche URL 'https://cloud.r-project.org/src/contrib/tibble_3.1.8.tar.gz' Content type 'application/x-gzip' length 672336 bytes (656 KB) ================================================== downloaded 656 KB versuche URL 'https://cloud.r-project.org/src/contrib/progress_1.2.2.tar.gz' Content type 'application/x-gzip' length 29506 bytes (28 KB) ================================================== downloaded 28 KB versuche URL 'https://cloud.r-project.org/src/contrib/readxl_1.4.1.tar.gz' Content type 'application/x-gzip' length 2090383 bytes (2.0 MB) ================================================== downloaded 2.0 MB * installing *source* package ‘rlang’ ... ** Paket ‘rlang’ erfolgreich entpackt und MD5 Summen überprüft ** using staged installation ** libs gcc -I"/usr/share/R/include" -DNDEBUG -I./rlang/ -fvisibility=hidden -fpic -g -O2 -ffile-prefix-map=/build/r-base-Faorqz/r-base-4.2.2.20221110=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c capture.c -o capture.o gcc -I"/usr/share/R/include" -DNDEBUG -I./rlang/ -fvisibility=hidden -fpic -g -O2 -ffile-prefix-map=/build/r-base-Faorqz/r-base-4.2.2.20221110=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c internal.c -o internal.o g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I./rlang/ -fpic -g -O2 -ffile-prefix-map=/build/r-base-Faorqz/r-base-4.2.2.20221110=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c rlang-rcc.cpp -o rlang-rcc.o /bin/bash: Zeile 1: g++: Befehl nicht gefunden make: *** [/usr/lib/R/etc/Makeconf:178: rlang-rcc.o] Fehler 127 ERROR: compilation failed for package ‘rlang’ * removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/rlang’ ERROR: dependency ‘rlang’ is not available for package ‘ellipsis’ * removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/ellipsis’ ERROR: dependency ‘rlang’ is not available for package ‘lifecycle’ * removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/lifecycle’ ERROR: dependencies ‘lifecycle’, ‘rlang’ are not available for package ‘vctrs’ * removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/vctrs’ ERROR: dependencies ‘lifecycle’, ‘rlang’, ‘vctrs’ are not available for package ‘pillar’ * removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/pillar’ ERROR: dependencies ‘ellipsis’, ‘lifecycle’, ‘rlang’, ‘vctrs’ are not available for package ‘hms’ * removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/hms’ ERROR: dependencies ‘lifecycle’, ‘pillar’, ‘rlang’, ‘vctrs’ are not available for package ‘tibble’ * removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/tibble’ ERROR: dependency ‘hms’ is not available for package ‘progress’ * removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/progress’ ERROR: dependency ‘tibble’ is not available for package ‘cellranger’ * removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/cellranger’ ERROR: dependencies ‘cellranger’, ‘tibble’, ‘progress’ are not available for package ‘readxl’ * removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/readxl’ [5/5] Installing Rcpp... Die heruntergeladenen Quellpakete sind in ‘/tmp/Rtmpd8EYme/downloaded_packages’ Installiere Paket nach ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2’ (da ‘lib’ nicht spezifiziert) versuche URL 'https://cloud.r-project.org/src/contrib/Rcpp_1.0.9.tar.gz' Content type 'application/x-gzip' length 2957812 bytes (2.8 MB) ================================================== downloaded 2.8 MB * installing *source* package ‘Rcpp’ ... g++ -std=gnu++14 -I"/usr/share/R/include" -DNDEBUG -I../inst/include/ -fpic -g -O2 -ffile-prefix-map=/build/r-base-Faorqz/r-base-4.2.2.20221110=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c api.cpp -o api.o ** Paket ‘Rcpp’ erfolgreich entpackt und MD5 Summen überprüft ** using staged installation ** libs /bin/bash: Zeile 1: g++: Befehl nicht gefunden make: *** [/usr/lib/R/etc/Makeconf:178: api.o] Fehler 127 ERROR: compilation failed for package ‘Rcpp’ * removing ‘/home/michael/R/x86_64-pc-linux-gnu-library/4.2/Rcpp’ Die heruntergeladenen Quellpakete sind in ‘/tmp/Rtmpd8EYme/downloaded_packages’ ✔ Packages successfully installed. Es gab 28 Warnungen (Anzeige mit warnings())
Nun denke ich, prima, Pakete installiert, dann kann ich ja jetzt importieren. Versuche ich es also erneut, erscheint genau jene Installationsaufforderung erneut. Es scheint also die Installation nicht wirklich erfolgreich abgeschlossen worden zu sein.
Kann jemand aus obigem Protokoll erkennen, ob da irgendetwas falsch läuft?
Beste Grüße Forumsnutzer