forked from r-devel/r-dev-env
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style(tutorials): Standardising sub-headings and layout
As part of r-devel#191 the style of sub-headings for instructions in the `docs/tutorials/` section. Level 4 markdown headings have been used, where numbering is required these have been included as the number followed by a period. Two pages (`multi_r_compilation.md` and `running_r.md`) had paragraphs numbered. These have had short section headers added and the text follows as paragraphs afterwards.
- Loading branch information
Showing
5 changed files
with
76 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,25 @@ | ||
|
||
1) Create a file in VS Code ending with a .R extension. You can create new files | ||
#### 1. Create a new file | ||
|
||
Create a file in VS Code ending with a .R extension. You can create new files | ||
by clicking on the new file icon in VS Code Explorer, or use the `code` command | ||
in the terminal to create and open an R file | ||
|
||
```bash | ||
code R/test.R | ||
``` | ||
|
||
![alt text](../assets/rdev4.png) | ||
![Screen shot of VSCode running the Containerised R Development Environment.](../assets/rdev4.png) | ||
|
||
2) You should see `R:(not attached)` in the Status Bar at the bottom of the | ||
You should see `R:(not attached)` in the Status Bar at the bottom of the | ||
VSCode window. | ||
|
||
![alt text](../assets/rdev11.png) | ||
![Status bar of VSCode showing message that `R:(not attached)`.](../assets/rdev11.png) | ||
|
||
#### 2. Launch R | ||
|
||
3) Click on the `R:(not attached)` link to launch an R terminal. You can then | ||
Click on the `R:(not attached)` link to launch an R terminal. You can then | ||
send code from the `.R` file to the R terminal by pressing `cmd/ctrl + enter`. | ||
|
||
![alt text](../assets/rdev12.png) ![alt text](../assets/rdev5.png) | ||
![Screen shot of R session running in the Terminal tab of VSCode.](../assets/rdev12.png) | ||
![VSCode screen shot showing R terminal and plot in a separate tab.](../assets/rdev5.png) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters