I am making an R Shiny App where after some statistical, a report is made from a Snw file. I have found this answer: Getting Sweave code chunks inside some framed box?, but if I run it, it doesn't work. Even the weight of chunk is not modifying, although I set it.
So my code is:
\documentclass[a4paper]{article}
\usepackage{fancyvrb}
\DefineVerbatimEnvironment{Sinput}{Verbatim} {xleftmargin=2em,frame=single}
\DefineVerbatimEnvironment{Soutput}{Verbatim}{xleftmargin=2em,frame=single}
\title{ Challenger Model Report}
\begin{document}
<<echo=FALSE,results="verbatim">>=
options(width=200)
print(finalreg())
print(Determination())
print( AdjustedDetermination())
@
\end{document}
A picture of it is: Here
And: Here
The code for the second picture is not printed here, but is the almost the same as previous. What can I do?