Error in installing R package "AppliedPredictiveModeling"
I found that I was generating this error message when I mistakenly typed
installed.packages("Hmisc")
Instead of the (correct)
install.packages("Hmisc")
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.