I cannot download package "prLogistic" successfully, especially the "hmisc" and "latticeExtra"

Loading required package: boot
Loading required package: stats4
Loading required package: lme4
Loading required package: Matrix
Loading required package: Hmisc
Loading required package: lattice

Attaching package: ‘lattice’

The following object is masked from ‘package:boot’:


Loading required package: survival

Attaching package: ‘survival’

The following object is masked from ‘package:boot’:


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

Error Information:

Description of issue -

Steps taken so far -

System Information:

  • RStudio Edition: (Desktop or Server)
  • RStudio Version:
  • OS Version:
  • R Version:


  • RStudio diagnostics report:
  • Your sessionInfo():
  • RStudio crash report:
  • RStudio application log files:

From Troubleshooting Guide: Using RStudio

You are missing a package dependency, try installing it

1 Like

It says that it is not available for R version 3.5.3
Warning in install.packages :
package ‘latticeExtra’ is not available (for R version 3.5.3)

Then you have to update your R version, latticeExtra requires R >= 3.6

1 Like

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