There is java_check_version_cmd():
|
java_check_version_cmd <- function( |
There is also java_check_version_rjava():
|
java_check_version_rjava <- function( |
They both print the current JAVA_HOME if no parameter is specified. But it would be nice to have a simple function that returns current JAVA_HOME. Basically it would be a wrapper around Sys.getenv("JAVA_HOME"), as it would be much easier to start typing in console java_home() and get autocomplete. Perhaps the function should be called something else, e.g. java_current_home(). I'm open to suggestions.
This should be a very easy function to write, looks like a good candidate for a first pull request from a novice.
There is
java_check_version_cmd():rJavaEnv/R/java_env.R
Line 253 in 1de37c0
There is also
java_check_version_rjava():rJavaEnv/R/java_env.R
Line 161 in 1de37c0
They both print the current
JAVA_HOMEif no parameter is specified. But it would be nice to have a simple function that returns currentJAVA_HOME. Basically it would be a wrapper aroundSys.getenv("JAVA_HOME"), as it would be much easier to start typing in consolejava_home()and get autocomplete. Perhaps the function should be called something else, e.g.java_current_home(). I'm open to suggestions.This should be a very easy function to write, looks like a good candidate for a first pull request from a novice.