When installing rJava using the install.packages(\"rJava\") command I get the following error:
install.packages(\"rJava\")
checking Java support in R... present: interprete
Thanks - your suggestion about $JAVA_HOME lead me to a similar solution:
$JAVA_HOME
prompt$ unset JAVA_HOME
before invoking R.