i would like to install the R Commander, but it doesn't work:
I startet with: package:Rcmdr
install.packages("Rcmdr")
library("Rcmdr")
But i get the following output:
library("Rcmdr")
Lade nötiges Paket: RcmdrMisc
Lade nötiges Paket: car
Error: package or namespace load failed for ‘car’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
Namensraum ‘vctrs’ 0.2.0 ist bereits geladen, aber >= 0.3.0 wird gefordert
Fehler: Paket ‘car’ konnte nicht geladen werden
Zusätzlich: Warnmeldungen:
1: Paket ‘Rcmdr’ wurde unter R Version 3.6.3 erstellt
2: Paket ‘RcmdrMisc’ wurde unter R Version 3.6.3 erstellt
3: Paket ‘car’ wurde unter R Version 3.6.3 erstellt
> install.packages("car")
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:
https://cran.rstudio.com/bin/windows/Rtools/
Installing package into ‘C:/Users/maria/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
versuche URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/car_3.0-10.zip'
Content type 'application/zip' length 1567935 bytes (1.5 MB)
downloaded 1.5 MB
package ‘car’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\maria\AppData\Local\Temp\RtmpozjNxs\downloaded_packages
> install.packages("vctrs")
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:
https://cran.rstudio.com/bin/windows/Rtools/
Installing package into ‘C:/Users/maria/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
also installing the dependency ‘rlang’
package ‘rlang’ successfully unpacked and MD5 sums checked
Warning in install.packages :
cannot remove prior installation of package ‘rlang’
Warning in install.packages :
Problem C:\Users\maria\Documents\R\win-library\3.6\00LOCK\rlang\libs\x64\rlang.dll nach C:\Users\maria\Documents\R\win-library\3.6\rlang\libs\x64\rlangdll zu kopieren: Permission denied
Warning in install.packages :
restored ‘rlang’
package ‘vctrs’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\maria\AppData\Local\Temp\RtmpCO9YqM\downloaded_packages
I think this works, should i also do: library(car) and library(vctrs) ??
I startet a new clean session - should i first install the package Rcmdr again in the new clean session before i load the library oder is it still in my r packages?
library(Rcmdr)
Lade nötiges Paket: splines
Lade nötiges Paket: RcmdrMisc
Lade nötiges Paket: car
Lade nötiges Paket: carData
Error: package or namespace load failed for ‘car’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
Namensraum ‘rlang’ 0.4.0 ist bereits geladen, aber >= 0.4.7 wird gefordert
Fehler: Paket ‘car’ konnte nicht geladen werden
Zusätzlich: Warnmeldungen:
1: Paket ‘Rcmdr’ wurde unter R Version 3.6.3 erstellt
2: Paket ‘RcmdrMisc’ wurde unter R Version 3.6.3 erstellt
3: Paket ‘car’ wurde unter R Version 3.6.3 erstellt
4: Paket ‘carData’ wurde unter R Version 3.6.3 erstellt
Ok thank you, i tried both. I still get the same output.
To load Rcmdr is still impossible. Maybe there isn't a solution for my problem and i have to work without the commander..
If you have successfully updated rlang it is not possible that you are getting the same output, please be specific and post your error messages, otherwise, we can't help you.
> install.packages("rlang")
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:
https://cran.rstudio.com/bin/windows/Rtools/
Installing package into ‘C:/Users/maria/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
rlang 0.4.8 0.4.9 TRUE
Binaries will be installed
versuche URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/rlang_0.4.8.zip'
Content type 'application/zip' length 1149154 bytes (1.1 MB)
downloaded 1.1 MB
package ‘rlang’ successfully unpacked and MD5 sums checked
Warning in install.packages :
cannot remove prior installation of package ‘rlang’
Warning in install.packages :
Problem C:\Users\maria\Documents\R\win-library\3.6\00LOCK\rlang\libs\x64\rlang.dll nach C:\Users\maria\Documents\R\win-library\3.6\rlang\libs\x64\rlang.dll zu kopieren: Permission denied
Warning in install.packages :
restored ‘rlang’
The downloaded binary packages are in
C:\Users\maria\AppData\Local\Temp\RtmpasUWer\downloaded_packages
library(Rcmdr)
Lade nötiges Paket: splines
Lade nötiges Paket: RcmdrMisc
Lade nötiges Paket: car
Lade nötiges Paket: carData
Error: package or namespace load failed for ‘car’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
Namensraum ‘rlang’ 0.4.0 ist bereits geladen, aber >= 0.4.7 wird gefordert
Fehler: Paket ‘car’ konnte nicht geladen werden
Zusätzlich: Warnmeldungen:
1: Paket ‘Rcmdr’ wurde unter R Version 3.6.3 erstellt
2: Paket ‘RcmdrMisc’ wurde unter R Version 3.6.3 erstellt
3: Paket ‘car’ wurde unter R Version 3.6.3 erstellt
4: Paket ‘carData’ wurde unter R Version 3.6.3 erstellt
The rlang installation has failed becasue the package is already loaded, try restarting RStudio before installing the package, or manually delete the folder.