Packages-loading

I got this type of error when i call R-commander.

Loading required package: RcmdrMisc
Error: package or namespace load failed for ‘RcmdrMisc’ in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
there is no package called ‘Hmisc’
Error: package ‘RcmdrMisc’ could not be loaded

Any Suggest ?

Install the missing package dependency

install.packages("Hmisc")

If you get any error message while doing so, post them here so we can take a look.

I have no idea after this

library(RcmdrMisc)
Error: package or namespace load failed for ‘RcmdrMisc’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
there is no package called ‘vctrs’
library(Rcmdr)
Loading required package: RcmdrMisc
Error: package or namespace load failed for ‘RcmdrMisc’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
there is no package called ‘vctrs’
Error: package ‘RcmdrMisc’ could not be loaded

And i try to install vctrs packages but this result

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/Asus Gk/AppData/Local/R/win-library/4.2’
(as ‘lib’ is unspecified)

There is a binary version available but the source version is later:
binary source needs_compilation
vctrs 0.5.0 0.5.1 TRUE

installing the source package ‘vctrs’

trying URL 'http://cran.rstudio.com/src/contrib/vctrs_0.5.1.tar.gz'
Content type 'application/x-gzip' length 959562 bytes (937 KB)
downloaded 937 KB

  • installing source package 'vctrs' ...
    ** package 'vctrs' successfully unpacked and MD5 sums checked
    ** using staged installation
    ** libs
    MAKE Version 5.2 Copyright (c) 1987, 1998 Inprise Corp.
    Error C:/PROGRA~1/R/R-42~1.2/share/make/winshlib.mk 16: Command syntax error
    *** 1 errors during make ***
    ERROR: compilation failed for package 'vctrs'
  • removing 'C:/Users/Asus Gk/AppData/Local/R/win-library/4.2/vctrs'
    Warning in install.packages :
    installation of package ‘vctrs’ had non-zero exit status

The downloaded source packages are in
‘C:\Users\Asus Gk\AppData\Local\Temp\RtmpOuiA1v\downloaded_packages’

Choose to install the precompiled binary rather than compiling yourself.

where i could install this version ?

install.packages("vctrs", type = "binary")

It works now, thank you

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

If you have a query related to it or one of the replies, start a new topic and refer back with a link.