E Getting help
We all get stuck sometimes and need some help. Below are some advises on how to help yourself and ask for help:
If you have a question related to the theory of RL:
- Ask it during the lecture or in the breaks
- Ask it at our course forum and we (the teacher and other students) will try to answer your question asap.
If you have a question related to R:
- First try to understand the error message and solve the problem. You may try to debug your code by inserting
browser()
in your R code. Further details about debugging can be seen here.
- Google is your friend. This is always the next step. Try searches like “r dplyr filter”, “r tidyverse”, “r subset vector”, etc.
- Do you need help for a specific function in R then try
?[function-name]
such as?geom_line
,?mutate
, etc. Mostly, focus on the last section with examples. Moreover, some packages may have written vignettes trybrowseVignettes(package = "package_name")
to check. - Have a look at Help > Cheatsheets in RStudio.
- If you can’t find an answer then it is time to ask on-line. I recommend asking a question at stackoverflow. To make your question effective, the idea is to make things as easy as possible for someone to answer. This stack overflow thread How to make a great R reproducible example? give you some good hints. The process of providing a good minimal reproducible example (reprex) often causes you to answer your own question! See also Stack Exchange’s ‘How to ask’ and How to make a reprex at tidyverse.
- Ask it at our course forum and we (the teacher and other students) will try to answer your question asap.
Note help using mail correspondence is not supported!