I am making some R markdown documents for my stats class. I've noticed I get an error in some functions when I have a code block with {r} instead of just r. Like so...
``` r
this code will be fine
```
``` {r}
this code will have an error
```
When should I be using the brackets for codeblocks in .Rmd and when should I leave them out?