Hello,

I have this LaTex table from this link below:

I put it into either a R or Rmarkdown file.

It doesn't produce the result but gives squiggly red error lines that

I have to fix. How can I run the bottom LaTex code in R or Rmarkdown ?

Please advise !

https://www.latex-tutorial.com/tutorials/tables/

%...

\begin{table}[h!]

\begin{center}

\caption{Multirow table.}

\label{tab:table1}

\begin{tabular}{l|S|r}

\textbf{Value 1} & \textbf{Value 2} & \textbf{Value 3}\

\alpha & \beta & \gamma \

\hline

\multirow{2}{}{12} & 1110.1 & a\ % <-- Combining 2 rows with arbitrary with () and content 12

& 10.1 & b\ % <-- Content of first column omitted.

\hline

3 & 23.113231 & c\

4 & 25.113231 & d\

\end{tabular}

\end{center}

\end{table}%...