In this case, the JAVA class library rjava.dll is installed again after installing other software in the system, and the R running environment cannot call the confirmation item. Lazy-load database '/Library/Frameworks/R.framework/Versions/3.4/Resources/library/rJava/R/rJava.rdb' is corruptġ: package ‘RWeka’ was built under R version 3.4.2Ģ: In get(Info, envir = env) : internal error -3 in R_decompress1Įrror: package or namespace load failed for ‘rJava’ in get(Info, envir = env):ġ: package ‘rJava’ was built under R version 3.4. Error: unable to load the program package ‘rJava’. I installed the package 'rJava' with no problems, but when I load it get a similar error (also pasted below).Įrror: package or namespace load failed for ‘RWeka’ in get(Info, envir = env): I am running OS X El Capitan and have Java 10.11.6. I am trying to use RWeka in Studio, and get this error. I opened the terminal in my Mac and ran this, and got the errors in the screenshot.
Hey, gwinstanley, thanks for doing this! I was wondering if you could tell me where to run this (I am pretty new to Studio). # Link JVM library to allow R to find it. If groups $USER | grep -q -w -v admin thenĮcho 'Please run this script using an administrator account. # If not a Homebrew installation, check for script running under admin account. If $(which brew 2 & >/dev/null ) & $(brew unlink -dry-run r | grep ' $RP ' 2 & >/dev/null ) then # Check whether R is installed via Homebrew. >&2 echo 'Unable to find R executable please ensure it is installed correctly. # Script to configure rJava correctly on macOS.