2

I just started with R. I run a 64bit Windows8 machine.

Here are the commands I have issued and my the responses I got:

install.packages("DMwR")
library() #to check if DMwR was installed and it shows up in Packages in library
          ## ‘C:/Program Files/R/R-3.0.2/library’

library(DMwR) # THIS IS WHERE I get the error. 

ERROR MESSAGE: Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : there is no package called ‘abind’ Error: package or namespace load failed for ‘DMwR’

How can I fix that?

Thanks to all!

2
  • Have you tried install.packages('abind')? then library(DMwR). I've had that issue a few times with other packages, but manually installing the dependencies worked for me Feb 17, 2014 at 20:22
  • Thanks James for the help! Feb 17, 2014 at 20:54

2 Answers 2

1

Here are the steps I followed:

 install.packages('abind')
 install.packages('zoo')
 install.packages('xts')
 install.packages('quantmod')
 install.packages('ROCR')

and finally:

 library(DMwR) 

Thanks for the help James!

0

In addition to the answer of @user1561949 ... The package DMwR contains packages abind, zoo, xts, quantmod and ROCR as imports. So, additionally to installing 5 packages you must install DMwR package:

install.packages("DMwR")

and than:

library(DMwR)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.