Skip to content

Commit b9a7afd

Browse files
committed
headings L1 in step-by-step
1 parent 1ef6298 commit b9a7afd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

vignettes/rJavaEnv-step-by-step.qmd

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ setwd(project_dir)
2626
```
2727

2828

29-
### 1. Set-up cache folder location
29+
# 1. Set-up cache folder location
3030

3131

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

58-
### 2. Download `Java` JDK distributions
58+
# 2. Download `Java` JDK distributions
5959

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

@@ -109,7 +109,7 @@ MD5 checksum verified.
109109
```
110110

111111

112-
### 3. Manage downloaded `Java` JDK distributions
112+
# 3. Manage downloaded `Java` JDK distributions
113113

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

@@ -153,7 +153,7 @@ Example expected output:
153153
Java distributions cache cleared.
154154
```
155155

156-
### 4. Install from downloaded `Java` JDK distributions into current project
156+
# 4. Install from downloaded `Java` JDK distributions into current project
157157

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

@@ -193,7 +193,7 @@ java_home <- java_unpack(java_distr_path = java_8_distr)
193193
`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()`.
194194

195195

196-
### 5. Manually set installed `Java` environment
196+
# 5. Manually set installed `Java` environment
197197

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

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

309-
### 6. Cleanup
309+
# 6. Cleanup
310310

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

0 commit comments

Comments
 (0)