Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error in installing R package "AppliedPredictiveModeling"

Tags:

r

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.

like image 677
user164013 Avatar asked Jan 22 '16 05:01

user164013


3 Answers

I found that I was generating this error message when I mistakenly typed

installed.packages("Hmisc")

Instead of the (correct)

install.packages("Hmisc")
like image 134
Idiot Tom Avatar answered Oct 18 '22 20:10

Idiot Tom


since no one was able to help me on this issue, I guess perhaps it was not a common problem, but I solved it finally by installing the package offline.

like image 3
user164013 Avatar answered Oct 18 '22 21:10

user164013


You are mistyping install.packages as installed.packages. That's all. Just use the correct install.packages() function.

like image 1
Lazarus Thurston Avatar answered Oct 18 '22 20:10

Lazarus Thurston