Today I tried my best to try to figure out how to create reports in R using Sweave or Brew. At first I have to say that I have not used Tex before, but I understand its logic.
I read this document several times. However, I cannot even get a simple example for parsing. Brew successfully converts a simple markup file (only a header and some text) into a .tex file (no errors). But it never converts tex to pdf.
> library(tools) > library(brew) > brew("population.brew", "population.tex") > texi2dvi("population.tex", pdf = TRUE)
The last step is always crashing:
Error in texi2dvi("population.tex", pdf = TRUE) : Running 'texi2dvi' on 'population.tex' failed.
What am I doing wrong?
The report I'm trying to build is pretty simple. I have 157 different analyzes to summarize. Each of them has 4 graphs, 1 table and a summary. I just want to
output plot 1,2,3,4 output table \pagebreak ...
what he. Can anybody help me? I use osx, I do not have Tex installed.
thanks
r
Maiasaura
source share