Thanks for the help guys. Sorry, I will not post further RStudio questions
here. Yihui, thanks for the tip. Looks like these commands would do:
grDevices::pdf.options(useDingbats = FALSE); require(knitr);
opts_knit$set(concordance = TRUE); knit('filename.rnw',
encoding='UTF-8')
pdflatex filename.tex
evince filename.pdf
On Wed, Oct 23, 2013 at 2:20 PM, David Winsemius <[email protected]>wrote:
>
> On Oct 23, 2013, at 10:48 AM, Adam Hughes wrote:
>
> > Sorry, just to clarify:
> >
> > When I ask "how to do this", I mean what does the RStudio compiler
> actually
> > do? Are there a series of commands that are sent to the shell, similar
> to
> > how compiling a .tex file is a call to the command line using "pdflatex
> > foofile.tex". I'm hoping to just copy these shell commands using a
> python
> > script, which is easy.
> >
>
> There is an RStudio mailing list or forum for support of that product.
>
> >
> > On Wed, Oct 23, 2013 at 1:39 PM, Adam Hughes <[email protected]>
> wrote:
> >
> >> Hey everyone,
> >>
> >> I have several RStudio (.rnw) files that I am using a script to assemble
> >> into a composite document. For this purpose, it would be helpful if the
> >> script could automatcially make a call to whatever is called when a user
> >> opens up one of these files and manually clicks "Compile PDF".
> Basically,
> >> this would allow me to refresh all of the reports before assimilating
> their
> >> pdf's into a composite document.
> >>
> >> Does anyone know offhand how to do this, or if I'm offbase in even
> trying?
> >>
> >> Thanks
> >>
> --
>
> David Winsemius
> Alameda, CA, USA
>
>
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.