You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#' Documentation template for rJava path-locking behavior.
16
16
#'
17
17
#' @section rJava Path-Locking:
18
-
#' **Important for \strong{rJava} Users**: This function sets environment variables
19
-
#' (JAVA_HOME, PATH) that affect both command-line Java tools and \strong{rJava} initialization.
20
-
#' However, due to \strong{rJava}'s path-locking behavior when \code{\link[rJava]{.jinit}} is called
18
+
#' **Important for rJava Users**: This function sets environment variables
19
+
#' (JAVA_HOME, PATH) that affect both command-line Java tools and rJava initialization.
20
+
#' However, due to rJava's path-locking behavior when \code{\link[rJava]{.jinit}} is called
21
21
#' (see \url{https://github.com/s-u/rJava/issues/25}, \url{https://github.com/s-u/rJava/issues/249}, and \url{https://github.com/s-u/rJava/issues/334}),
22
22
#' this function must be called **BEFORE** \code{\link[rJava]{.jinit}} is invoked. Once \code{\link[rJava]{.jinit}}
23
23
#' initializes, the Java version is locked for that R session and cannot be changed without restarting R.
24
24
#'
25
25
#' \code{\link[rJava]{.jinit}} is invoked (and Java locked) when you:
26
26
#' \itemize{
27
27
#' \item Explicitly call \code{library(rJava)}
28
-
#' \item Load any package that imports \strong{rJava} (which auto-loads it as a dependency)
28
+
#' \item Load any package that imports rJava (which auto-loads it as a dependency)
29
29
#' \item Even just use IDE autocomplete with \code{rJava::} (this triggers initialization!)
30
-
#' \item Call any \strong{rJava}-dependent function
30
+
#' \item Call any rJava-dependent function
31
31
#' }
32
32
#'
33
-
#' Once any of these happen, the Java version used by \strong{rJava} for that session is locked in.
34
-
#' For command-line Java tools that don't use \strong{rJava}, this function can be called at any
33
+
#' Once any of these happen, the Java version used by rJava for that session is locked in.
34
+
#' For command-line Java tools that don't use rJava, this function can be called at any
35
35
#' time to switch Java versions for subsequent system calls.
0 commit comments