There are a large number of resources are available to help with almost all coding issues, whether they are specific to R or more general. The first strategy once you feel stuck is to use Google (or an alternative search engine) to using a well thought out search term. You can also look into the Main R FAQ page for answers to more language specific questions. Another strategy that should not be ignored is to ask your experienced colleagues, but remember not to become a pest.

Online help forums

If you cannot find a pre-existing answer to your issue, you can create a question to ask online. In order to ask a question effectively, it helps to phrase the question clearly, and, if you’re trying to solve a problem, to include a small, self-contained, reproducible example of the problem that others can execute. You will often find that this process alone answers the question. For information on how to ask questions, see, e.g., the R mailing list posting guide, and the document about how to create reproducible examples for R on Stack Overflow. Once you have a well formatted question there are a number of possible forums available see below:

R email lists

The R Project maintains a number of subscription-based email lists for posing and answering questions about R, including the general R-help email list, the R-devel list for R code development, and R-package-devel list for developers of CRAN packages.