On Fri, 3 Jul 2015, Scott Kostyshak wrote:

Let's take this step-by-step. First, I strongly recommend using knitr over
Sweave (this is not just a personal preference). If you go to Help >
Specific Manuals > Knitr and compile, does it work?

Scott,

  Interesting. I'll take a little time to try this, but after a lot more
research I believe that I indentified the problem: Sweave (at least) wants
to run R code to produce a result ,such as str() and summary(), rather than
using a data.frame already generated by R.

  A quick test will tell me if knitr behaves differently.

  The results I want to include in the document have already been calculated
and I have them in the cwd as records of each day's R session. They just do
not cleanly paste into the LyX document; the \n seem to be lost and I need
to clean up the text. The idea was to have Sweave nicely format the results
in the document, even putting them in a table for me.

Thanks for the suggestion,

Rich

Reply via email to