Given the place of the R software in applied statistics, we expect that questions related to this statistical package will regularly come on this site, as has been done in the past. As a follow-up on an earlier discussion on this topic, How to answer R questions, here are some guidelines on how to ask good questions related to the use of R and what's the best place to ask such questions.
Our FAQ states that programming questions should be asked on Stack Overflow, but
If the language is statistically oriented (such as R, SAS, Stata, SPSS, etc.), then decide based on the nature of your question: if it needs statistical expertise to understand or answer, ask it here; if it's about an algorithm, routine data processing, or details of the language, then please refer to the collection of links to
resources we maintain.
Usually, posts that are not related to a statistical question are migrated to Stack Overflow, through the close voting mechanism. However, Stack Overflow members also expect high quality questions, in accordance with rules of good practices on all Stack Exchange sites. For additional information, see this related thread: Please do not migrate low quality questions.
To sum up, in order to facilitate migration between the two sites, it is expected that R questions demonstrate some level of research effort and provide working illustrations or a reproducible example, whenever possible.
The following illustrations are prototypical examples of questions that would be considered off-topic on SO and CV, questions that are on-topic on SO but need to be improved, and questions that are ready to be migrated over Stack Overflow. For the first two cases, a post notice (moderators only) and/or a comment in the spirit of our Library of helpful responses are given to inform the original poster of the reasons why his post is not acceptable as is.