I've writed a scheme for R, and now I would like to create a scheme for Sweave, that is just a LaTeX file with some R code. I have no idea how to do this, but it would work like JavaScript code in HTML. Can someone point me how to make such scheme?
Thanks