Skip to content

Commit

Permalink
add line for how to source a script per datacarpentry#832
Browse files Browse the repository at this point in the history
  • Loading branch information
harrig12 committed Aug 21, 2023
1 parent e345ea0 commit c1209bd
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions episodes/00-before-we-start.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,11 @@ selected text will be sent to the console and executed when you press
this [RStudio cheatsheet about the RStudio
IDE](https://raw.githubusercontent.com/rstudio/cheatsheets/main/rstudio-ide.pdf).

To run an entire script you can use the <kbd>`Ctrl`</kbd> + <kbd>`Shift`</kbd> +
<kbd>`Enter`</kbd> shortcut (on Macs, <kbd>`Cmd`</kbd> + <kbd>`Shift`</kbd> +
<kbd>`Return`</kbd>) or use the "Source" toolbar button on the
right top corner of the source pane.

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
Expand Down

0 comments on commit c1209bd

Please sign in to comment.