I get
package ‘rJava’ is not available (for R version 2.15.0)
Warning: unable to access index for repository http://cran.stat.ucla.edu/bin/macosx/leopard/contrib/2.15
when using install.packages()
if the repository does not have a version of the given package for my version of R, 2.15.0--the latest Mac binary. Is there a way to get R to check in for older versions, e.g. rJava for R 2.14?
I know that I could download the tar.gz
file and then use R CMD INSTALL
in terminal, but I was wondering if there was a way to do this using install.packages()
. Thank you.
Try a different CRAN mirror repository (e.g. install.packages("rJava", repos = "http://cran.us.r-project.org/")
, or simply try installing again with the UCLA repository. The CRAN mirror monitor report suggests there has been some sporadic downtime at the UCLA mirror recently. An Rjava binary for R 2.15.0 should be available. I can access it directly on the UCLA mirror at http://cran.stat.ucla.edu/bin/macosx/leopard/contrib/2.15/rJava_0.9-3.tgz .
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With