Unable to load packages in R. Getting Error: '.path.package' is defunct

Error Information:

Description of issue - New Installation or 3.4.1
While loading any packages am getting the below error -
Error: '.path.package' is defunct.
Use 'path.package' instead.
See help("Defunct")

Steps taken so far - Tried using this command -
update.packages(checkBuilt = TRUE)

System Information:

  • RStudio Edition: (Desktop or Server) - Desktop
  • RStudio Version: 0.97.237
  • OS Version: Windows 7
  • R Version: R version 3.4.1 (2017-06-30)

Also:

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

From Troubleshooting Guide: Using RStudio

Hi Almas, it might be helpful to fill out the information left blank in your post here.

For example, if you have an especially old version of rstudio and were loading the manipulate pacage: https://support.rstudio.com/hc/en-us/articles/203775903-Fixing-startup-error-where-manipulate-and-rstudio-packages-will-not-install-with-networked-drives

Or the third reply here: http://r.789695.n4.nabble.com/Error-path-package-is-defunct-td4697492.html

1 Like