I am new to knitr and would appreciate if someone could help me with a pointer on this.
Most examples I see using knitr/sweave create a data frame inside a chunk and then refers to that in the subsequent processing. However, what if I have massaged the raw into a data frame, and then want to use that. How do I do that?
I have tried saving the data frame as an R object, and then loading it inside a chunk, but I am not sure if this is the best way.