A carriage return (\r) makes the cursor jump to the first column (begin of the line) while the newline (\n) jumps to the next line and might also to the beginning of that line.
The infix operator %>% is not part of base r, but is in fact defined by the package magrittr (cran) and is heavily used by dplyr (cran).
It works like a pipe, hence the reference to.
R provides two different methods for accessing the elements of a list or data. frame:
[] and [[]].
What is the difference between the two, and when should i use one over the other?