-
Notifications
You must be signed in to change notification settings - Fork 17
Why does doIMRMC in the R package NOT work
Brandon Gallas edited this page Apr 24, 2023
·
1 revision
The two most common reasons that doIMRMC doesn't work are
- Java is not installed or up to date, and
- there are spaces in the full directory path.
iMRMC R package versions 1.2.3 and earlier call the iMRMC java application to crunch the numbers. An error described above is reported as a warning about running command "java"
and shows where the java application in your R library exists on your local computer.
Check the java version by typing java -version
into the command terminal. The version number should be at least 1.7 or higher, if you don't have the latest version of Java, update it to run doIMRMC.
In order for R to call the java application when executing doIMRMC, the full path must not have any spaces. Here is a link to instructions for changing the Default Library in Rstudio.