# [R-SIG-Mac] Compile errors on .tex file at \begin{Soutput} points

Keith Jones keithlj at keithljelp.com
Sun Oct 20 17:00:40 CEST 2013

I am using OSX 10.6.8, TexShop 2.47, and TeXLive-2013.  When I try to compile my .tex file I get an error at every \begin{Soutput}:

l.100 \begin{Soutput}

?
[1]

! LaTeX Error: Undefined color darkred'.

I can not figure out where Latex is thinking there is a darkred colour associated with the following code.

Here is the .tex code at lines 99 through 117:

\begin{Schunk}
\begin{Soutput}
% latex table generated in R 3.0.2 by xtable 1.7-1 package
% Sun Oct 20 10:09:50 2013
\begin{table}[ht]
\centering
\begin{tabular}{rllrrr}
\hline
& kr44 & row & meas\_mean & meas\_var & meas\_sd \\
\hline
1 & -1 & 1 & 868.78 & 97695.69 & 312.56 \\
2 & -1 & 3 & 652.90 & 51953.43 & 227.93 \\
3 & 1 & 1 & 1061.43 & 181553.65 & 426.09 \\
4 & 1 & 3 & 604.57 & 140337.19 & 374.62 \\
\hline
\end{tabular}
\end{table}
\end{Soutput}
\end{Schunk}

I have double checked that the sweave.sh, sweave.engine, and sweavenoclean.engine files have permissions of read and execute.  The files are in the correct directory.

I have run out of ideas to check.

Thanks,

Keith Jones, Ph.D.

"It is Important to understand what you CAN DO before you learn to measure how WELL you seem to have DONE it." John Tukey

`