Knitr / Quarto have an option (results: hold) to "hold all pieces of text output in a chunk and flush them to the end of the chunk."
Does Sweave have a similar option?
I searched the internet, including the "Sweave User Manual", but haven't found anything.