I was trying to use R with Mathematica 12
I tried the following:
Needs["RLink`"]
InstallR["RHomeLocation" -> "C:\\Program Files\\R\\R-3.5.1", "Rversion" ->"3.5"]
I am getting this error
JLink'Java: A Java exception occurred: com.wolfram.jlink.InvalidClassException: Invalid class specification. This class is not loaded into the current Java runtime. It might have been loaded into a different Java runtime, or Java might have been restarted since the class was loaded.
I have java version 8 update 211 installed on my machine.
Do I need a higher version of Java for this above command to work in Mathematica 12?
Please help how I can resolve this issue. Your help is much appreciated.