IThese two packages were working very well, suddenly i got these errors:
library(Rcmdr)
Loading required package: splines
Loading required package: RcmdrMisc
Loading required package: car
Loading required package: carData
Loading required package: sandwich
Error: package or namespace load failed for ‘RcmdrMisc’:
.onLoad failed in loadNamespace() for 'checkmate', details:
call: library.dynam(lib, package, package.lib)
error: DLL ‘backports’ not found: maybe not installed for this architecture?
Error: package ‘RcmdrMisc’ could not be loaded
library(RcmdrMisc)
Error: package or namespace load failed for ‘RcmdrMisc’:
.onLoad failed in loadNamespace() for 'checkmate', details:
call: library.dynam(lib, package, package.lib)
error: DLL ‘backports’ not found: maybe not installed for this architecture?
Yes, i already did that and also followed many suggestions that have been posted in similar issues on different platforms however the issue still not solved yet.
If you keep getting the same error message then you have not installed the package successfully. Please post the complete output message you get when you try to install it.
install.packages("Rcmdr")
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:
install.packages("Rtools")
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/Win10/OneDrive - Faculty Of Science (Tanta University)/Documents/R/win-library/4.1’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘Rtools’ is not available for this version of R
A version of this package for your version of R might be available elsewhere,
see the ideas at
I meant the output message you get when you try to install the missing backports package. Not the already installed Rcmdr package. Run this command and share the output you get.
install.packages("backports")
Also, RTools is not an R package so you can't install it that way, it is a separate software that you have to download and install in your system. You can download it from the link provided in the error message (you should pay a little more attention to the actual content of the message).
Thanks andresrcs and sorry im new in R.
I successfully downloaded Rtools as recommended.
Here is the output:
install.packages("backports")
Installing package into ‘C:/Users/Win10/OneDrive - Faculty Of Science (Tanta University)/Documents/R/win-library/4.1’
(as ‘lib’ is unspecified)
There is a binary version available but the source version is later:
binary source needs_compilation
backports 1.3.0 1.4.0 TRUE
package ‘backports’ successfully unpacked and MD5 sums checked
Warning in install.packages :
cannot delete reparse point 'C:\Users\Win10\OneDrive - Faculty Of Science (Tanta University)\Documents\R\win-library\4.1/backports/libs/x64', reason 'There is a mismatch between the tag specified in the request and the tag present in the reparse point'
Warning in install.packages :
cannot remove prior installation of package ‘backports’
Warning in install.packages :
cannot delete reparse point 'C:\Users\Win10\OneDrive - Faculty Of Science (Tanta University)\Documents\R\win-library\4.1/backports/libs/x64', reason 'There is a mismatch between the tag specified in the request and the tag present in the reparse point'
Warning in install.packages :
restored ‘backports’
The downloaded binary packages are in
C:\Users\Win10\AppData\Local\Temp\Rtmp842Bag\downloaded_packages
library(backports)
Error: package or namespace load failed for ‘backports’ in library.dynam(lib, package, package.lib):
DLL ‘backports’ not found: maybe not installed for this architecture?