Skip to main content
6 of 9
Rollback to Revision 2 - roll back my changes, the body is a mix of 2 posts
philipxy
  • 15.1k
  • 4
  • 19
  • 19

Not understanding this (good) question - why doesn't it need debugging details? [Language Specific - R]

Disclaimer: I have no experience at all with the R programming language, and probably shouldn't be reviewing R questions!


There was a question asked recently about obtaining pairwise squared differences from numbers in a data set in R. What got my attention about this question was that although the task to be performed and the desired output were clearly stated (with both a written description and properly formatted code), the asker hadn't included any specific attempts at actually solving the problem.

While I know that not every question requires a long list of failed attempts [!], the ones that don't usually tend to be more on the conceptual side, or else asking about a specific API which is lacking in documentation. (Or else, they usually at least explain why the specific task is difficult to accomplish.) But, this question didn't seem to fall into any of those categories.

I instantly (unfairly, as it turns out) dismissed it as a "do my homework" type question, and without further consideration, flagged it as "Needs debugging details."

The question was actually a +9 score known-good question, which has received multiple high quality answers. I'll admit to being surprised, because usually high-quality new questions look more "complex," while highly upvoted "simple" questions tend to be older, from back when the site was still building a base of FAQs.

Since I was obviously mistaken about the question's quality, I've since upvoted it (it's neat to be able to give a new user their first silver badge :)). But now I'm wondering if there's something different about R that makes accomplishing this kind of task more difficult than in the languages I'm familiar with.

To avoid potentially affecting the question's stats, I haven't linked it here. [Link is in the comments] But I believe a subject matter expert in R should be able to ascertain the main premise of the question from the description above. My question to the experts, mainly out of curiosity (but maybe it will help future reviewers, too!) is:

What makes this kind of task so difficult to accomplish in R?

Quack E. Duck
  • 678
  • 2
  • 5
  • 20