! Undefined control sequence.
l.80 cat(``Times Table for,n,:\n
'') for (i in 1:table\_size) \{
Error: LaTeX failed to compile Loop-controls.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See Loop-controls.log for more info. Execution halted
\n– David Carlisle Dec 14 '23 at 19:19\nthat is not defined. You could simply remove it from thr input and the error would go but I don't know if it is the output you want – David Carlisle Dec 14 '23 at 20:30\n(in the input) with a newline (in the output), you can try\\(space only there to aid formatting, which is a line-break), or a blank line (which will start a new paragraph). But, like @DavidCarlisle, I don't know if it is the output you want. – enkorvaks Dec 14 '23 at 23:25