From dc2e53149990d582b413de7aa767dc34bd2e8d9f Mon Sep 17 00:00:00 2001 From: mine-cetinkaya-rundel Date: Sat, 8 Apr 2023 10:23:03 -0400 Subject: [PATCH] Remove line break + visual editor moved chunk --- intro.qmd | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/intro.qmd b/intro.qmd index 076a720..f46bcf5 100644 --- a/intro.qmd +++ b/intro.qmd @@ -231,8 +231,10 @@ The code in the book looks like this: If you run the same code in your local console, it will look like this: - > 1 + 2 - [1] 3 +``` +> 1 + 2 +[1] 3 +``` There are two main differences. In your console, you type after the `>`, called the **prompt**; we don't show the prompt in the book. @@ -245,8 +247,7 @@ Throughout the book, we use a consistent set of conventions to refer to code: - Other R objects (such as data or function arguments) are in a code font, without parentheses, like `flights` or `x`. -- Sometimes, to make it clear which package an object comes from, we'll use the package name followed by two colons, like `dplyr::mutate()` or\ - `nycflights13::flights`. +- Sometimes, to make it clear which package an object comes from, we'll use the package name followed by two colons, like `dplyr::mutate()` or `nycflights13::flights`. This is also valid R code. ## Acknowledgments