We often get questions that focus on how to do something using R (or Python, rarely SAS, MS Excel or others), with little to no statistical content. Such questions are off-topic and should be closed.
There are two alternatives we can vote for: either
This question appears to be off-topic because EITHER it is not about statistics, machine learning, data analysis, data mining, or data visualization, OR it focuses on programming, debugging, or performing routine operations within a statistical computing platform. If the latter, you could try the support links we maintain.
This question belongs on another site in the Stack Exchange network -> belongs on stackoverflow.com
Now, my concern is that I see what I believe is too many votes for the second option. Specifically, questions are being voted as "belonging on SO" that are actually not a good fit for SO, typically by not containing a minimal working example. I assume (but have no data to back it up) that if these questions are indeed migrated to SO, they are closed there, too. More work all around. Such questions should have been closed with the first reason and message in the first place.
Can we improve the voting-to-close dialogue to help close voters find the best alternative? For instance, can we add
(is the question actually a good fit for the target site, e.g., containing a minimal working example for StackOverflow?)
to the "belongs on another site" alternative? Or can we include similar wording in the second step, where different target sites are proposed? (I assume the second step may be harder to customize for CV than the first.)
For reference, here is step 1:
And here is step 2: