I'm working on a big Sweave document/script on a Mac OS X system, R version 2.9.2. Under some circumstances, it appears as if Sweave is redirecting stdout, so that x <- 1; print(x)
gives nothing at all. (The console is still running, as plot(x)
pops up a plot as normal.) So, two questions:
- How do I force stdout to go back to the console, and,
- Why does Sweave do this, and how?