13

A somewhat similar question was last raised about 1 year ago. However, it dealt more about whether or not to post sweave-related question on TeX.SX.

With a recent influx (perhaps too strong a word here) of questions dealing with sweave on Stack Overflow I wonder whether we should flag those questions for migration to TeX.SX? Or, should judgement be made on the TeX-ability of the question?

Some motivation and/or considerations:

  • sweave tag description on SO: "Sweave is a system for interspersing S (or R) code with LaTeX. It is an implementation of Donald Knuth's Literate Programming concept."
  • sweave is generally about R and not TeX, LaTeX and Friends
  • Do we have sweave experts on TeX.SX?
  • 2
    +1 for the question title. – Alan Munn Dec 2 '11 at 5:10
8

I'm by no means an expert in sweave, but I often can help out with such questions, and I know there are a few others here who can too. I don't think that sweave questions are "generally about R and not TeX" although some are but I do think the main criteria for whether a question should be migrated should depend on the degree to which the question is about the LaTeX part of the sweave document or the R part of the document. So I guess I wouldn't support a blanket tag-based migration policy.

Unfortunately lots of R users arrive a LaTeX via sweave, and don't go through the normal learning process of LaTeX. But that often means that their questions are quite simple in principle but with the added complication of the intervoven (interswoven?) R code.

That being said, I would also suggest to everyone that if you're not actually using R and Sweave, that you hang back a bit before attempting to answer such questions here, even if they seem to be fairly obvious LaTeX questions. It would be helpful to see if those of us who are using these tools provide some answers first. Because there are peculiarities of using generated LaTeX code (as opposed to code you write yourself) fixing someone's Sweave generated code as you would a regular document is not always helpful to Sweave users.

  • I completely agree. I mistakenly answered a related question that was not migrated without even thinking, which was the wrong thing to do. I'm sure, over time, there will be more Sweave-ers, making migration to TeX.SX more of the norm. – Werner Dec 6 '11 at 0:39

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .