Skip to content

Commit

Permalink
Remove line break + visual editor moved chunk
Browse files Browse the repository at this point in the history
  • Loading branch information
mine-cetinkaya-rundel committed Apr 8, 2023
1 parent 2c04b84 commit dc2e531
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions intro.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
Expand Down

0 comments on commit dc2e531

Please sign in to comment.