Package: rJavaEnv 0.2.2
rJavaEnv: 'Java' Environments for R Projects
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.
Authors:
rJavaEnv_0.2.2.tar.gz
rJavaEnv_0.2.2.zip(r-4.5)rJavaEnv_0.2.2.zip(r-4.4)rJavaEnv_0.2.2.zip(r-4.3)
rJavaEnv_0.2.2.tgz(r-4.4-any)rJavaEnv_0.2.2.tgz(r-4.3-any)
rJavaEnv_0.2.2.tar.gz(r-4.5-noble)rJavaEnv_0.2.2.tar.gz(r-4.4-noble)
rJavaEnv_0.2.2.tgz(r-4.4-emscripten)rJavaEnv_0.2.2.tgz(r-4.3-emscripten)
rJavaEnv.pdf |rJavaEnv.html✨
rJavaEnv/json (API)
NEWS
# Install 'rJavaEnv' in R: |
install.packages('rJavaEnv', repos = c('https://r-multiverse.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/e-kotov/rjavaenv/issues
environmentsjavareproducibilityreproducible-research
Last updated 2 months agofrom:bae1c6dea1 (on v0.2.2). Checks:OK: 7. Indexed: no.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 12 2024 |
R-4.5-win | OK | Nov 12 2024 |
R-4.5-linux | OK | Nov 12 2024 |
R-4.4-win | OK | Nov 12 2024 |
R-4.4-mac | OK | Nov 12 2024 |
R-4.3-win | OK | Nov 12 2024 |
R-4.3-mac | OK | Nov 12 2024 |
Exports:java_check_version_cmdjava_check_version_rjavajava_clearjava_downloadjava_env_setjava_env_unsetjava_installjava_listjava_quick_installjava_unpackrje_consentuse_java
Multiple Java environments in one project with targets and callr
Rendered frommultiple-java-with-targets-callr.qmd
usingquarto::html
on Nov 12 2024.Last update: 2024-08-28
Started: 2024-08-28
Quick Start Guide: Java Setup for 'R' Projects
Rendered fromrJavaEnv.qmd
usingquarto::html
on Nov 12 2024.Last update: 2024-08-28
Started: 2024-08-20
Step-by-step: Download, Install, and Setup Java for 'R' Projects
Rendered fromrJavaEnv-step-by-step.qmd
usingquarto::html
on Nov 12 2024.Last update: 2024-08-28
Started: 2024-08-20
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Check installed Java version using terminal commands | java_check_version_cmd |
Check Java Version with a Specified JAVA_HOME Using a Separate R Session | java_check_version_rjava |
Manage Java installations and distributions caches | java_clear |
Download a Java distribution | java_download |
Set the 'JAVA_HOME' and 'PATH' environment variables to a given path | java_env_set |
Unset the JAVA_HOME and PATH environment variables in the project .Rprofile | java_env_unset |
Install Java from a distribution file | java_install |
List the contents of the Java versions installed or cached | java_list |
Download and install and set Java in current working/project directory | java_quick_install |
Unpack a Java distribution file into cache directory | java_unpack |
Obtain User Consent for rJavaEnv | rje_consent |
Install specified Java version and set the 'JAVA_HOME' and 'PATH' environment variables in current R session | use_java |