Learn R Programming

rJavaEnv (version 0.3.0)

java_env_unset: Unset the JAVA_HOME and PATH environment variables in the project .Rprofile

Description

Unset the JAVA_HOME and PATH environment variables in the project .Rprofile

Usage

java_env_unset(project_path = NULL, quiet = FALSE)

Value

Nothing. Removes the JAVA_HOME and PATH environment variables settings from the project .Rprofile.

Arguments

project_path

A character vector of length 1 containing the project directory where Java should be installed. If not specified or NULL, defaults to the current working directory.

quiet

A logical value indicating whether to suppress messages. Can be TRUE or FALSE.

Examples

Run this code
if (FALSE) {
# clear the JAVA_HOME and PATH environment variables in the specified project .Rprofile
java_env_unset(project_path = tempdir())
}

Run the code above in your browser using DataLab