I am learning ML from Applied Predictive Modeling book, while installing AppliedPredictiveModeling
package I am getting following error
install.packages("AppliedPredictiveModeling")
Package LibPath Version Priority Depends Imports LinkingTo Suggests Enhances License License_is_FOSS License_restricts_use OS_type Archs MD5sum NeedsCompilation Built
I tried looking on Google and SO to resolve this but was unable to find any solution. Please tell me how to resolve this, I have never encountered this error before. I use RStudio on Windows 7.
I found that I was generating this error message when I mistakenly typed
installed.packages("Hmisc")
Instead of the (correct)
install.packages("Hmisc")
由于没有人能够在这个问题上帮助我,我想这可能不是一个常见问题,但我最终通过离线安装软件包解决了这个问题。
You are mistyping install.packages
as installed.packages
. That's all. Just use the correct install.packages()
function.
I encountered the same error when attempting to install the car package using
install.packages("car")
The response / error message I got was:
Package LibPath Version Priority Depends Imports LinkingTo Suggests Enhances License License_is_FOSS License_restricts_use OS_type Archs MD5sum NeedsCompilation Built
I was in the middle of an R session (RStudio, on Windows 10) when I first attempted to install it.
I fixed it by closing RStudio, and then re-running
install.packages("car")
as the first command I ran upon reopening RStudio.
Perhaps not a definitive solution, but thought it might help others.
Restarting my computer worked for me.
I was having the same issue with:
install.packages('rpart.plot')
Just restarting Rstudio did not work.
Try setting the "dependencies" method to TRUE. That helped me when installing it.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.