Deducer not available on R 3.6.2?

Hi guys,

I am a new R user and wanted to install deducer. I installed Java that is necessary for it. But unfortunately, it says that it is not available for R 3.6.2. (see message below)

I am a Mac Catalina User.

Many thanks for your help!
Yakup

Die heruntergeladenen Binärpakete sind in
/var/folders/vx/ntxd8k4101j5v6c1q7208_vc0000gn/T//Rtmp0NIjsp/downloaded_packages
Warnmeldung:
Paket ‘DeducerExtras’ ist nicht verfügbar (for R version 3.6.2)

install.packages(c("JGR","Deducer","DeducerExtras"))

Actually the package that is no longer available on CRAN is DeducerExtras not Deducer.

mmh thanks.

So I had this code from deducer.org.
Ok, so only wrote deducer. But now I still can't run deducer after giving the following codes:

Die heruntergeladenen Binärpakete sind in
/var/folders/vx/ntxd8k4101j5v6c1q7208_vc0000gn/T//Rtmpb7OTuf/downloaded_packages

Sys.setenv(NOAWT=1)
library(JGR)
Lade nötiges Paket: rJava
Error: package or namespace load failed for ‘rJava’:
.onLoad in loadNamespace() für 'rJava' fehlgeschlagen, Details:
Aufruf: dyn.load(file, DLLpath = DLLpath, ...)
Fehler: kann shared object '/Library/Frameworks/R.framework/Versions/3.6/Resources/library/rJava/libs/rJava.so' nicht laden:
dlopen(/Library/Frameworks/R.framework/Versions/3.6/Resources/library/rJava/libs/rJava.so, 6): Library not loaded: /Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home/lib/server/libjvm.dylib
Referenced from: /Library/Frameworks/R.framework/Versions/3.6/Resources/library/rJava/libs/rJava.so
Reason: image not found
Fehler: Paket ‘rJava’ konnte nicht geladen werden
Sys.unsetenv("NOAWT")
JGR()
Fehler in JGR() : konnte Funktion "JGR" nicht finden

R is complaining that it can't find a Java installation, Do you have a matching architecture Java installation in your computer?

mmh, yes, before installing deducer, I installed Java by their homepage with the following file Jak-13.0.2_osx-x64_bin.dmg

This issue is pretty common, very often R has troubles finding the Java installation, unfortunately, I'm not a Mac user so I don't know what the proper procedure is for your OS but very likely someone else here knows it, just wait a little bit or google for the solution yourself.

Running R CMD javareconf from bash or terminal (assuming R is on your execution path) may help re-inform R where the Java install is.

Hi John and all

many thanks for all your help!
So CMD javareconf from terminal hasn't worked. In the internet I've found to use ```
sudo R CMD javareconf


and following message appeared on my terminal:


Java interpreter : /usr/bin/java
Java version     : 13.0.2
Java home path   : /Library/Java/JavaVirtualMachines/jdk-13.0.2.jdk/Contents/Home
Java compiler    : /usr/bin/javac
Java headers gen.: /usr/bin/javah
Java archive tool: /usr/bin/jar

trying to compile and link a JNI program 
detected JNI cpp flags    : -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/darwin
detected JNI linker flags : -L$(JAVA_HOME)/lib/server -ljvm
clang -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/Library/Java/JavaVirtualMachines/jdk-13.0.2.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk-13.0.2.jdk/Contents/Home/include/darwin  -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -I/usr/local/include  -fPIC  -Wall -g -O2  -c conftest.c -o conftest.o
clang -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/Frameworks/R.framework/Resources/lib -L/usr/local/lib -o conftest.so conftest.o -L/Library/Java/JavaVirtualMachines/jdk-13.0.2.jdk/Contents/Home/lib/server -ljvm -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation


JAVA_HOME        : /Library/Java/JavaVirtualMachines/jdk-13.0.2.jdk/Contents/Home
Java library path: $(JAVA_HOME)/lib/server
JNI cpp flags    : -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/darwin
JNI linker flags : -L$(JAVA_HOME)/lib/server -ljvm
Updating Java configuration in /Library/Frameworks/R.framework/Resources
Done.

Yakups-MacBook-Pro:~ y$ 


But I still have the same problem.