Skip to content

Commit

Permalink
markdown source builds
Browse files Browse the repository at this point in the history
Auto-generated via {sandpaper}
Source  : ecfdca7
Branch  : main
Author  : Toby Hodges <tobyhodges@carpentries.org>
Time    : 2024-01-31 13:19:03 +0000
Message : Merge pull request #882 from ragamouf/patch-1

Improve keyboard button visibility in before-we-start
  • Loading branch information
actions-user committed Jan 31, 2024
1 parent 0e7b43a commit 41ada8e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions 00-before-we-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -279,24 +279,24 @@ is a complete record of what we did, and anyone (including our future selves!)
can easily replicate the results on their computer.

RStudio allows you to execute commands directly from the script editor by using
the <kbd>`Ctrl`</kbd> + <kbd>`Enter`</kbd> shortcut (on Macs, <kbd>`Cmd`</kbd> +
<kbd>`Return`</kbd> will work, too). The command on the current line in the
the <kbd>Ctrl</kbd> + <kbd>Enter</kbd> shortcut (on Macs, <kbd>Cmd</kbd> +
<kbd>Return</kbd> will work, too). The command on the current line in the
script (indicated by the cursor) or all of the commands in the currently
selected text will be sent to the console and executed when you press
<kbd>`Ctrl`</kbd> + <kbd>`Enter`</kbd>. You can find other keyboard shortcuts in
<kbd>Ctrl</kbd> + <kbd>Enter</kbd>. You can find other keyboard shortcuts in
this [RStudio cheatsheet about the RStudio
IDE](https://raw.githubusercontent.com/rstudio/cheatsheets/main/rstudio-ide.pdf).

At some point in your analysis you may want to check the content of a variable
or the structure of an object, without necessarily keeping a record of it in
your script. You can type these commands and execute them directly in the
console. RStudio provides the <kbd>`Ctrl`</kbd> + <kbd>`1`</kbd> and
<kbd>`Ctrl`</kbd> + <kbd>`2`</kbd> shortcuts allow you to jump between the
console. RStudio provides the <kbd>Ctrl</kbd> + <kbd>1</kbd> and
<kbd>Ctrl</kbd> + <kbd>2</kbd> shortcuts allow you to jump between the
script and the console panes.

If R is ready to accept commands, the R console shows a `>` prompt. If it
receives a command (by typing, copy-pasting or sent from the script editor using
<kbd>`Ctrl`</kbd> + <kbd>`Enter`</kbd>), R will try to execute it, and when
<kbd>Ctrl</kbd> + <kbd>Enter</kbd>), R will try to execute it, and when
ready, will show the results and come back with a new `>` prompt to wait for new
commands.

Expand All @@ -306,7 +306,7 @@ a complete command. This is because you have not 'closed' a parenthesis or
quotation, i.e. you don't have the same number of left-parentheses as
right-parentheses, or the same number of opening and closing quotation marks.
When this happens, and you thought you finished typing your command, click
inside the console window and press <kbd>`Esc`</kbd>; this will cancel the
inside the console window and press <kbd>Esc</kbd>; this will cancel the
incomplete command and return you to the `>` prompt.

## Seeking help
Expand Down
2 changes: 1 addition & 1 deletion md5sum.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"NEWS.md" "fd72095d364a9ae2aefcaa02168bb2a7" "site/built/NEWS.md" "2023-11-21"
"config.yaml" "0bdaec9a0c1aefd12e53078e75896f83" "site/built/config.yaml" "2023-11-21"
"index.Rmd" "400d5cdf0026a672545648985a0a7141" "site/built/index.md" "2023-11-21"
"episodes/00-before-we-start.Rmd" "ef7481b5b9858ee3da234afae05f5e12" "site/built/00-before-we-start.md" "2023-11-21"
"episodes/00-before-we-start.Rmd" "0f589f0a88627ca4a046d84abf8a3ace" "site/built/00-before-we-start.md" "2024-01-31"
"episodes/01-intro-to-r.Rmd" "9d0341af304a8ff96edd39a0032bf32d" "site/built/01-intro-to-r.md" "2023-11-21"
"episodes/02-starting-with-data.Rmd" "1d17881fd589b9208eda76c8bef547bd" "site/built/02-starting-with-data.md" "2023-11-21"
"episodes/03-dplyr.Rmd" "c5bf6b8e6d7525fe0bb21b1216549574" "site/built/03-dplyr.md" "2023-11-21"
Expand Down

0 comments on commit 41ada8e

Please sign in to comment.