I'd like to render R input and output code from the same Rnw chunk using two different colors so that they can be more easily interpreted. So far my attempts failed while using a custom CSS template, where any change in colors appear to systematically change both input and output.
Thank you for your time. F