- editor: type & save code for reuse later
- console: basic interaction w/ R & type code
R Markdown
- allows put code, outputs, comments
- need a code chunk
```{r}
# the code need to run and out put
## do not forget output-function to show the results
example:
x <- 4+3
x

---
- related to LaTex for output math formula
```r
\\[
\\bar{X}
\\]
- use Kint to output as HTML/PDF

- when commentting, comment the code in code chunk (for hw)
- use "=" instead of "←" is discouraged