rJavaEnv

'Java' Environments for R Projects

CRAN Package

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.


Documentation


Team


Insights

Last 30 days

This package has been downloaded 1,451 times in the last 30 days. That's enough downloads to impress a room full of undergrads. A commendable achievement indeed. The following heatmap shows the distribution of downloads per day. Yesterday, it was downloaded 23 times.

Sun
Mon
Tue
Wed
Thu
Fri
Sat
23 downloadsMar 16, 2025
32 downloadsMar 17, 2025
45 downloadsMar 18, 2025
39 downloadsMar 19, 2025
47 downloadsMar 20, 2025
62 downloadsMar 21, 2025
88 downloadsMar 22, 2025
52 downloadsMar 23, 2025
46 downloadsMar 24, 2025
69 downloadsMar 25, 2025
127 downloadsMar 26, 2025
66 downloadsMar 27, 2025
22 downloadsMar 28, 2025
12 downloadsMar 29, 2025
14 downloadsMar 30, 2025
33 downloadsMar 31, 2025
29 downloadsApr 1, 2025
67 downloadsApr 2, 2025
37 downloadsApr 3, 2025
45 downloadsApr 4, 2025
70 downloadsApr 5, 2025
26 downloadsApr 6, 2025
44 downloadsApr 7, 2025
116 downloadsApr 8, 2025
56 downloadsApr 9, 2025
70 downloadsApr 10, 2025
44 downloadsApr 11, 2025
32 downloadsApr 12, 2025
15 downloadsApr 13, 2025
23 downloadsApr 14, 2025
0 downloadsApr 15, 2025
0 downloadsApr 16, 2025
0 downloadsApr 17, 2025
0 downloadsApr 18, 2025
0 downloadsApr 19, 2025
12
127

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Last 365 days

This package has been downloaded 5,298 times in the last 365 days. Impressive! The kind of number that makes colleagues ask, 'How did you do it?' The day with the most downloads was Mar 06, 2025 with 140 downloads.

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Data provided by CRAN


Binaries


Dependencies

  • Imports4 packages
  • Suggests3 packages