mauricioperalc
mauricioperalc

Reputation: 11

Error in describe(iris$Sepal.Length) : could not find function "describe"

psych installed Warning messages: 1: package ‘psych’ was built under R version 3.6.3 2: In p_load(psych) : Failed to install/load: psych

Upvotes: 1

Views: 1151

Answers (1)

user13653858
user13653858

Reputation:

Your packages probably needs to be rebuilt under a higher R version. Try to run this code in your R console:

update.packages(ask = FALSE,
                checkBuilt = TRUE)

Explanation: Some R packages need to be rebuilt after R update. If you don't do that, these packages throw an error that were built under an earlier version of R. Function update.packages() downloads and installs packages which have a suitable later version on the repositories. The ask parameter prevents R from constantly asking you to confirm every update of every package, while the checkBuilt parameter is to reinstall all packages built under an earlier version of R.

Upvotes: 1

Related Questions