Skip to content

Commit

Permalink
headings L1 in step-by-step
Browse files Browse the repository at this point in the history
  • Loading branch information
e-kotov committed Aug 28, 2024
1 parent 1ef6298 commit b9a7afd
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions vignettes/rJavaEnv-step-by-step.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ setwd(project_dir)
```


### 1. Set-up cache folder location
# 1. Set-up cache folder location


You can specify the cache folder location with the `rJavaEnv.cache_path` option.
Expand Down Expand Up @@ -55,7 +55,7 @@ Expected output (on a macOS machine):
"/Users/user_name/Library/Caches/org.R-project.R/R/rJavaEnv"
```

### 2. Download `Java` JDK distributions
# 2. Download `Java` JDK distributions

To download a specific Java distribution, use the `java_download` function:

Expand Down Expand Up @@ -109,7 +109,7 @@ MD5 checksum verified.
```


### 3. Manage downloaded `Java` JDK distributions
# 3. Manage downloaded `Java` JDK distributions

You can manage downloaded distributions with the `java_list` and `java_clear` functions.

Expand Down Expand Up @@ -153,7 +153,7 @@ Example expected output:
Java distributions cache cleared.
```

### 4. Install from downloaded `Java` JDK distributions into current project
# 4. Install from downloaded `Java` JDK distributions into current project

As we have cleared all downloaded `Java` distributions, let us re-download a few of them:

Expand Down Expand Up @@ -193,7 +193,7 @@ java_home <- java_unpack(java_distr_path = java_8_distr)
`java_unpack` will return full path to the unpacked `Java` distribution that you can use to set the environment variables in the section below using `java_env_set()`.


### 5. Manually set installed `Java` environment
# 5. Manually set installed `Java` environment

Let us install another downloaded `Java` distribution, this time with `autoset_java_env = TRUE`:

Expand Down Expand Up @@ -306,7 +306,7 @@ With the user-specified JAVA_HOME rJava and other rJava/Java-based packages will
[1] TRUE
```

### 6. Cleanup
# 6. Cleanup

If you do not want to use `rJavaEnv` anymore, please clear the cache folders before removing the package:

Expand Down

0 comments on commit b9a7afd

Please sign in to comment.