I try to install and use the glmulti function from the glmulti package


But I am seeing no function called glmulti. Could anyone else please test and let me know if I am missing something obvious? Currently when I call the function I get the following error (note reduced specs to reduce clutter):

Error in glmulti(...  : 
  could not find function "glmulti"
  • $\begingroup$ Oh sorry, I just removed the specs to reduce clutter. Should have specified. $\endgroup$
    – sleepy
    Apr 26, 2020 at 21:46
  • $\begingroup$ It appears to be properly installed. Are you saying I need to install rJava independently? Why is it a pain to install? $\endgroup$
    – sleepy
    Apr 26, 2020 at 21:48
  • $\begingroup$ ok it works for me.. i just installed and run the function. Are you sure it is installed? when you do library(glmulti), it doesn't throw an error? Mine shows this library(glmulti) Loading required package: rJava $\endgroup$
    – StupidWolf
    Apr 26, 2020 at 21:49
  • $\begingroup$ Ugh. Narrow console means I only saw the version error messages... Loading required package: rJava Error: package or namespace load failed for ‘rJava’: .onLoad failed in loadNamespace() for 'rJava', details: call: fun(libname, pkgname) error: JAVA_HOME cannot be determined from the Registry Error: package ‘rJava’ could not be loaded Any thoughts on why it is failing? If I manually install rJava on its own, I still get an error. $\endgroup$
    – sleepy
    Apr 26, 2020 at 21:52
  • 1
    $\begingroup$ Just googled the separate issue that is getting rJava to work. I'm on it and will post my fix shortly. Thanks for the help. $\endgroup$
    – sleepy
    Apr 26, 2020 at 22:03

1 Answer 1


Thanks to StupidWolf for pointing out solution in the comments.

I required 64-bit Java available from this link (current 27/04/2020).

Restart R and reload packages and voila!


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