I think it would be useful to have an interface that doesn't affect the .Rprofile
, since as soon as you put anything in that file your user ~/.Rprofile
will not be run. I'm imagining something like rJavaEnv::use_java(21)
which would download java 21 and then set the appropriate environment variables.
Since, as you say, it's not possible to switch java versions within a session, this function might need to error if JAVA_HOME
is already set.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4