A question I asked was recently closed by five fellow users. I found the moderation particularly harsh and off-putting, and as a moderately-involved Stack Overflow user, I want to understand whether I should use similar judgement as the basis for my own moderation.
I recently asked what I would consider a fairly simple, in-scope question for Stack Overflow. Here's the original version:
Is there a way to display a plot next to text output in a single graphic using
par(mfrow=c(1,2))
?I'm trying to display ROC curves (first plot) alongside a coefficient table (second "plot") inside a single graphic.
Also, I know this can be done with ggplot2. I'm wondering how one would do this using the built-in graphics library.
Within minutes, another user answered my question. Someone even upvoted the answer. Later today, I went back to reward the user with a green check, and I noticed a landslide of people had voted to close the question:
"Questions seeking debugging help ("why isn't this code working?") must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Questions without a clear problem statement are not useful to other readers. See: How to create a Minimal, Complete, and Verifiable example." – Roman Luštrik, Tommaso Belluzzo, NDM, Murray Foxcroft
From my perspective there are two issues with this decision:
- This is not a debugging question. My question--how to print a text block as a plot--is akin to asking how to print (to paper) a nicely-formatted data frame.
- As a new R user, I have little ground to build an example, particularly since I actually had no idea whether it's even possible to create a plot of text.
- The question did have a clear problem statement. How else would have someone answered it correctly and receive an upvote within the first hour the question was posted?
So here are my questions:
- Do we expand "This is not a debugging question" to include any questions without a code snippet?
- Do we expect users to present code for non-obvious, small tasks that they have no idea how to accomplish?
- Should I ignore the existence of "correct" and "useful" answers as part of closing a question?