Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add line for how to source a script per #832 #872

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
zkamvar marked this conversation as resolved.
Show resolved Hide resolved
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