I am using Java to connect to an Oracle SQL database in my R script and whenever I run the .jinit() command to initialize the Java virtual machine, I get the following error:
R Session Disconnected
This browser was disconnected from the R session because another browser connected (only one browser at a time may be connected to an RStudio session). You may reconnect using the button below
Then R restarts, and I am unable to run the rest of the script. I have tried uninstalling and reinstalling R, RStudio, and Java. I have deleted all of the App Data. Nothing worked.
Any help would be deeply appreciated!!