Package 'Hmisc' installed, but error when trying 'library' to activate?

I installed the package Hmisc, but get an error when I try to activate it with 'library'. Is there anyone who knows what could go wrong?

Warning in install.packages :
dependencies ‘survival’, ‘latticeExtra’ are not available

There is a binary version available but the source version is later:
binary source needs_compilation
Hmisc 4.1-1 4.4-0 TRUE

Do you want to install from sources the package which needs compilation?
y/n: y
installing the source package ‘Hmisc’

trying URL ''
Content type 'application/x-gzip' length 744545 bytes (727 KB)
downloaded 727 KB

ERROR: dependency ‘latticeExtra’ is not available for package ‘Hmisc’

  • removing ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/Hmisc’
    Warning in install.packages :
    installation of package ‘Hmisc’ had non-zero exit status

The downloaded source packages are in

Error in library(Hmisc) : there is no package called ‘Hmisc’

Installation is not successful because you are missing this dependency, the problem is that latticeExtra is not available for your R version which is very old. You need to update your R version in order to been able to install this package.

1 Like

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