0

I have the 3.2.5 console version of R and I still keep have continuous frustrations because there are still times when various packages I need won't install properly. The current package I've installed is gmodels and when I load it in the library (which this is a common message) it reads out this:

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

If there is anyone who could be of assistance I would really appreciate it.

Rich Scriven
  • 97,041
  • 11
  • 181
  • 245
AlleyCat
  • 165
  • 1
  • 2
  • 11
  • The solution is in the error message. Reading `help(install.packages)`, specifically the `dependencies` argument, will guide you to the answer. – Rich Scriven Aug 07 '16 at 18:28
  • How are you installing these packages? This really shouldn't be happening. – MrFlick Aug 07 '16 at 18:34

1 Answers1

0

Packages have dependencies on other packages. When you install some packages, you require to install others in order to use it. In your case, you cannot use gmodels until you have installed gdata.

Pauline
  • 13
  • 6