I would like to have a section of my manuscript run R-code then print the results IN the booklet. I am trying to teach specific tasks and would like to carry out the steps in the booklet.
The code is displayed. And the code runs separately BUT does NOT display in book.
I am emulating Roger Peng's book, Exploratory Data Analysis book where he does much the same thing.