The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

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.

Version: 0.2.2
Depends: R (≥ 4.0)
Imports: checkmate, cli, curl, jsonlite, utils
Suggests: quarto, rJava, testthat (≥ 3.0.0)
Published: 2024-09-13
DOI: 10.32614/CRAN.package.rJavaEnv
Author: Egor Kotov ORCID iD [aut, cre, cph], Mauricio Vargas ORCID iD [ctb], Hadley Wickham [ctb] (use_java feature suggestion and PR review)
Maintainer: Egor Kotov <kotov.egor at gmail.com>
BugReports: https://github.com/e-kotov/rJavaEnv/issues
License: MIT + file LICENSE
URL: https://github.com/e-kotov/rJavaEnv, https://www.ekotov.pro/rJavaEnv/
NeedsCompilation: no
Language: en-US
Citation: rJavaEnv citation info
Materials: README NEWS
CRAN checks: rJavaEnv results

Documentation:

Reference manual: rJavaEnv.pdf
Vignettes: Multiple 'Java' environments in one project with 'targets' and 'callr' (source, R code)
Step-by-step: Download, Install, and Setup ‘Java' for ’R' Projects (source, R code)
Quick Start Guide: ‘Java' Setup for ’R' Projects (source, R code)

Downloads:

Package source: rJavaEnv_0.2.2.tar.gz
Windows binaries: r-devel: rJavaEnv_0.2.2.zip, r-release: rJavaEnv_0.2.2.zip, r-oldrel: rJavaEnv_0.2.2.zip
macOS binaries: r-release (arm64): rJavaEnv_0.2.2.tgz, r-oldrel (arm64): rJavaEnv_0.2.2.tgz, r-release (x86_64): rJavaEnv_0.2.2.tgz, r-oldrel (x86_64): rJavaEnv_0.2.2.tgz
Old sources: rJavaEnv archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=rJavaEnv to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.