Package: rJavaEnv 0.2.2

Egor Kotov

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:Egor Kotov [aut, cre, cph], Mauricio Vargas [ctb], Hadley Wickham [ctb]

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://community.r-multiverse.org', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/e-kotov/rjavaenv/issues

Pkgdown:https://www.ekotov.pro

On CRAN:

environmentsjavareproducibilityreproducible-research

6.30 score 12 stars 7 scripts 512 downloads 12 exports 5 dependencies

Last updated 3 months agofrom:bae1c6dea1 (on v0.2.2). Checks:OK: 7. Indexed: no.

TargetResultDate
Doc / VignettesOKDec 12 2024
R-4.5-winOKDec 12 2024
R-4.5-linuxOKDec 12 2024
R-4.4-winOKDec 12 2024
R-4.4-macOKDec 12 2024
R-4.3-winOKDec 12 2024
R-4.3-macOKDec 12 2024

Exports:java_check_version_cmdjava_check_version_rjavajava_clearjava_downloadjava_env_setjava_env_unsetjava_installjava_listjava_quick_installjava_unpackrje_consentuse_java

Dependencies:backportscheckmateclicurljsonlite

Multiple Java environments in one project with targets and callr

Rendered frommultiple-java-with-targets-callr.qmdusingquarto::htmlon Dec 12 2024.

Last update: 2024-08-28
Started: 2024-08-28

Quick Start Guide: Java Setup for 'R' Projects

Rendered fromrJavaEnv.qmdusingquarto::htmlon Dec 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.qmdusingquarto::htmlon Dec 12 2024.

Last update: 2024-08-28
Started: 2024-08-20