The s4 tag gets attached to a lot of questions, such as this, this and this where the primary objective of the question is to perform some basic task (usually data extraction) on an S4 object (usually one defined in a specialist package). Users are often confused that S4 objects don't behave like data.frame
s or similar.
My question is, should these actually have the s4 tag? It feels like they shouldn't; by analogy, imagine if whenever a c++ user wanted to know how to do something with a classed object, that they tagged the question with oop
. That would make the oop
tag near-useless I would think.
If the prevailing opinion is that S4
is an appropriate tag, then is there a good reference answer for a question along the lines of "I don't understand how to get the 'data' out of this weird S4 object. Help!" (I'm happy to write such a thing if it doesn't exist)
s4
tag is completely invalid — there are lots of useful questions tagged with it. The problem is that there are many instances of "in packagefoo
, I don't know how to work with this S4 object" — a general expert on S4 such as myself will be unable to help as it depends on how packagefoo
was written, and posters generally need a lot of hand-holding to know which information they need to give to get an answer.