Displaying 1 result from an estimated 1 matches for "scatter1".
Did you mean:
scatter
2007 Jun 21
2
Need Help: User Defined R Functions in Sweave/Latex
...on. The trouble seems to be that the
output from the function appears to latex as if it is protected R code
when I really want to create output that pdflatex will act on.
Essentially, the resulting *.pdf contains the lines output by the cat
function in basicplot. Or:
\begin{figure}
\includegraphics{scatter1.pdf}
\caption{myname}
\end{figure}
These lines are not in the environment acted by Latex. I tried a
variant of the function where <<results=tex,echo=FALSE>> and received
the same result. Below are the files *.Snw -> *.tex -> *.pdf and the
output I received while compiling. If ther...