Displaying 1 result from an estimated 1 matches for "testfn2".
Did you mean:
testfn
2009 Apr 13
2
I want to use Sweave, but only sometimes
...he future, so I don't want to just convert the
document to pure LaTeX format.
Here's why I think this must be possible. In this list, I saw one of
you explain this approach to working with figures in Sweave docs:
Instead of using the automatic figure inclusion approach like this:
<<testfn2, fig=true>>=
curve(sin, from = 1, to = 55)
@
Do this instead:
\SweaveOpts{prefix.string=foo/bar}
<<testfn2, fig=true, include=false>>=
curve(sin, from = 1, to = 55)
@
\begin{figure}
\caption{My Figure}
\includegraphics{foo/bar-testfn}
\end{figure}
As long as the figures ar...