# Tag Info

## Hot answers tagged r

22

The answer is, of course, "it depends", but I think you're asking about something different from what you think you're asking about. I believe we can all agree that a question like Is there an R package for fitting Random Forests? not only is off-topic but also shows a lack of research effort. And likewise we can all agree that randomForest::...

16

Thanks for bringing our attention to that! I have removed this tag from the three threads. Obviously, we don't need such a tag on Cross Validated as it targets a particular UI specific to R (even if this is probably the most useful and least intrusive :-).

15

If code is the full answer to a question, then the question is off-topic. When the code illustrates or implements a statistical answer, such as a procedure or algorithm offered in response to a question about statistics or machine learning, then it is almost always warmly welcomed.

14

I think this is a bug. One work-around (which applies only to code not broken across lines) is to include an end-of-line comment containing an additional dollar sign: they cancel each other in pairs. E.g., pca <- prcomp(matrix(rnorm(10*10), ncol=10)) pca$x # This dollar sign works around the mathjax bug:$ pca$... 13 I think you are confused between answering a question in a comment (50 rep) and answering as the site intends for everyone to be able to do (1 rep). This response was done in the text box below that you see as 'Your Answer' with several formatting options readily on display. This is where you should be able to provide answers even with only 1 rep. It ... 12 Your comment touches on several generic issues. Here are some. It is neither possible nor necessary that moderators understand all questions. For one, a question can be closed on the grounds that is unclear, namely that a moderator considers and/or others in the community agree that it appears unclear. Often in such cases the whole point is that people do ... 12 A question asking for software referral is not on-topic, unless it needs some kind of statistical expertise. The same applies to questions about code. So, for example, a question asking about R packages for reading Excel files, plotting social network data, or asking how to implement linear regression in Python, etc. would be off-topic. On the other hand, ... 11 No, we do not need a distinct rstudio tag because rstudio is simply a convenient interface to R, not a separate language with its own peculiarities. Making rstudio a synonym of r appears to solve any residual need to consolidate R-related tags. 11 I see your valuable contributions quite regularly here; thanks for those. Thanks for asking first, as well. The SE network has a fairly clear policy on self-promotion, which you should look at. https://stats.stackexchange.com/help/behavior Limits for self-promotion in answers What signifies "Good" self promotion? (or: Self Promotion Part ... 10 StackOverflow defines the following on-topics: a specific programming problem, or a software algorithm, or software tools commonly used by programmers; and is a practical, answerable problem that is unique to software development SO does not define programming per se, so we'd have to go elsewhere. According to Wikipedia, Computer programming (often ... 10 The issue of an R-specific SE now appears to be moot, as judging from the link the proposal has been closed with the message: Announcements The R community embraced Stack Overflow as The place for R support and went on to gain a strong following on our Cross Validated site. – Robert Cartaino♦ 2 hours ago (Robert Cartaino is "the Director of ... 9 As I understand your description, this would be a pure software / how-to question. As such, it would be off-topic. There is, however, a glmnet tag. You could leave comments (where it seems appropriate) on tagged questions. You could also edit the tag wiki. Moreover, in answering questions with the tag, it might be fine to mention the package along ... 9 The short answer: Reality has a status quo bias; the initiative seems to have simply withered away with time. I doubt anyone (or the community as a whole) explicitly decided not to do it. Either way, nothing along those lines came of that discussion, and there isn't an R.SE site listed in Area 51. Peripheral discussion: I think you're right that ... 9 Question (Cleaned up version from a real question: https://stackoverflow.com/q/11941178/892313) I have a data.frame with numeric columns. How can I write it to a file, using write.table, such that R writes the full number 40000000 instead of 4e+07? Issues No statistical issues, so Off Topic on CV. It does involve programming issues, so it is on topic ... 9 Area 51 is the Stack Exchange site for proposing new Stack Exchange sites. If your idea for a new site comes from observing commonalities among off-topic questions on Cross Validated, it'd be sensible to discuss it first here on CV's Meta & to link to your proposal if you decide to make one. Your example—questions involving R—has been much ... 8 To clarify (though all the parts of this information is here in various places): On the main site, you can normally answer a question with 1 reputation. Here on meta you need 5 reputation to answer You need 50 reputation to comment in either location.$\,\$ To gain reputation quickly: answer questions on the main site. Good answers will generally get ...

8

Just containing code doesn't make it off topic; the question seems to me to be firmly on-topic. In any case, in relation to programming questions (which I don't think this one actually is), the help/on-topic says: if it needs statistical expertise to understand or answer, ask it here So even if it were more of a programming-related question than it ...

7

When I run the supplied code I see a plot which is a great deal closer to normality than the original sample so I find it hard to see what is going on here. The code itself seems to show more understanding of the central limit theorem than the quoted explanation of what the central limit theorem in fact states. I would suggest the OP edits the question in ...

7

It's off topic here, and I doubt this particular discussion (aside from the question of on-topicness) would be on topic at any of the other SE network sites. You're free to raise it on our chat if you wish.

6

If your only question / planned answer for the thread is "here is the code to upload a text file to h2o from your interface", then the question will be fine on Stack Overflow. On the other hand, if you want to talk about "the evaluation of data", that is on-topic here, even if code is appended. There is certainly nothing wrong with having code (R, SAS, ...

6

You can also earn reputation by editing the questions and answers. Your edit will be placed in a queue, but on stats.SE the queues disappear quickly. You can read more about how editing works here: How do suggested edits work?

6

As the original Asker of the META Q you link to, I think "we" (the people on SO who were getting annoyed with questions being closed that seemingly, or at that time, fell between the SO and CV cracks) decided that within the StackExchange ecosystem, what we hoped to achieve with an R-related SE site didn't really fit in with the SE ethos or could be covered ...

6

I have seen other forums migrating such requests to Software Recommendations, though that forum tends to be a still defining itself and not known for prompt responses or well moderated. Right now as it covers a broad range of topics and not people who are say, experts in R or what it does in this case. R packages based on this forum's core competency I ...

5

Based on the comments, I have set a bounty on the 2013 question, claiming that "The current answer(s) are out-of-date and require revision given recent changes", which is not entirely correct but the closest "bounty reason". (Now I'd just love for the bounty text to respect the paragraph breaks I included...) Edit: I just awarded the bounty to Ben Bolker's ...

5

I'm a bit mixed on this. In general, I think it is better to close such questions, but some questions could legitimately be grandfathered. I'm not sure I can articulate where I perceive the borderline to be or provide a coherent argument for it. (I have voted to 'leave open' on some such older threads, if I could find them I might be able to do better ...

5

"What would be the best way to predict the movies I like?" is arguably too broad (perhaps not, it's ultimately for the community to decide, but my guess from my experience on CV is that it might be). There will be lots of possibilities, and "best" is not well defined. On the other hand, I don't think the level of "triviality" matters much for the site. ...

4

a client asks the very same question and provides you the same data. Can you imagine asking the client "do you want to run an OLS regression on a transformed score value/ run an ordinal logistic regression...." No; we can not expect the client to know all such details. But at the same time clients are typically asking very open questions which should not ...

4

Not arguing that ssdecontrol has an excellent answer, but as someone who is very interested in R packages, I find that subscribing to R-bloggers is really, really, useful. It will keep you in touch with what is new in the R package world as well as linking to blogs describing the use of various R packages.

4

Stack Overflow uses a fairly stringent definition of what constitutes a programming question (perhaps just as we have a fairly strict definition of what constitutes a statistical / machine learning question). A question that simply has to do with how to use, say, R is not necessarily a programming question. One good rule of thumb is that programming ...

3

Tags are added at the time a question is asked and, on occasion, when an answer suggests a tag. AFAIK, the original proposer (OP) of a question can add whatever new tag they need (although the site strongly encourages using existing tags when they suffice). In this fashion tags develop organically to reflect the interests of the site's users. If a ...

Only top voted, non community-wiki answers of a minimum length are eligible