Can somebody tell me how to install the rJava package?
I tried using the Package Installer of R.app. If I first try to get a package list from CRAN there, I get a " unable to access index for repository" error. And if I simply search for rJava in the Package Installer search field, nothing seems to happen.
Next, I found rJava at CRAN online and downloaded the rJava_0.9-13.tgz, which is supposed to be the latest Mac binary for the package.
So in the R.app console I executed command:
install.packages("rJava_0.9-13.tgz",lib="/Users/murray/Downloads",repos=NULL)
But I got error:
tar: Error opening archive: Failed to open 'rJava_0.9-13.tgz'
Error: file ‘rJava_0.9-13.tgz’ is not a macOS binary package
Now what?