rJavaEnv0.3.0 package

'Java' Environments for R Projects

java_clear_distrib_cache

Clear the Java distributions cache folder

java_clear_in_project

Clear the Java versions symlinked in the current project

java_clear_installed_cache

Clear the Java installations cache folder

java_clear

Manage Java installations and distributions caches

java_list_in_project

List the Java versions symlinked in the current project

java_list_installed_cache

List the contents of the Java installations cache folder

global_quiet_param

Global Quiet Parameter

java_check_version_cmd

Check installed Java version using terminal commands

java_check_version_rjava

Check Java Version with a Specified JAVA_HOME Using a Separate R Sessi...

java_check_version_system

Check and print Java path and version using system commands

java_download

Download a Java distribution

java_env_set_rprofile

Update the .Rprofile file in the project directory

java_env_set_session

Set the JAVA_HOME and PATH environment variables for the current sessi...

java_env_set

Set the JAVA_HOME and PATH environment variables to a given path

java_env_unset

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

java_install

Install Java from a distribution file

java_list_distrib_cache

List the contents of the Java distributions cache folder

java_list

List the contents of the Java versions installed or cached

java_quick_install

Download and install and set Java in current working/project directory

java_unpack

Unpack a Java distribution file into cache directory

java_urls_load

Load Java URLs from JSON file

java_valid_major_versions_corretto

Get Available Online Versions of Amazon Corretto

java_valid_versions

Retrieve Valid Java Versions

java_version_check_rscript

Check Java version using rJava

platform_detect

Detect platform and architecture

rJavaEnv-package

rJavaEnv: 'Java' Environments for R Projects

rje_consent_check

Verify User Consent for rJavaEnv

rje_consent

Obtain User Consent for rJavaEnv

rje_envvar_exists

Helper for clean env var check

urls_test_all

Test all Java URLs

use_java

Install specified Java version and set the JAVA_HOME and PATH envi...

Quickly install 'Java Development Kit (JDK)' without administrative privileges and set environment variables in current R session or project to solve common issues with 'Java' environment management in 'R'. Recommended to users of 'Java'/'rJava'-dependent 'R' packages such as 'r5r', 'opentripplanner', 'xlsx', 'openNLP', 'rWeka', 'RJDBC', 'tabulapdf', and many more. 'rJavaEnv' prevents common problems like 'Java' not found, 'Java' version conflicts, missing 'Java' installations, and the inability to install 'Java' due to lack of administrative privileges. 'rJavaEnv' automates the download, installation, and setup of the 'Java' on a per-project basis by setting the relevant 'JAVA_HOME' in the current 'R' session or the current working directory (via '.Rprofile', with the user's consent). Similar to what 'renv' does for 'R' packages, 'rJavaEnv' allows different 'Java' versions to be used across different projects, but can also be configured to allow multiple versions within the same project (e.g. with the help of 'targets' package). Note: there are a few extra steps for 'Linux' users, who don't have any 'Java' previously installed in their system, and who prefer package installation from source, rather then installing binaries from 'Posit Package Manager'. See documentation for details.

  • Maintainer: Egor Kotov
  • License: MIT + file LICENSE
  • Last published: 2025-04-04