check_java | R Documentation |
This function checks to see if the JAVA_HOME environment variable is set. If not it will check to see if Java is installed on some platforms.
check_java()
To install Java on Mac (assuming Homebrew is installed):
brew tap adoptopenjdk/openjdk brew install --cask adoptopenjdk8
To install Java on Ubuntu run:
sudo apt-get install openjdk-8-jdk
TRUE if JAVA_HOME is set.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.