[R] Scripting call to R-Studio compile PDF

David Winsemius dwinsemius at comcast.net
Wed Oct 23 20:20:53 CEST 2013


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 <hughesadam87 at gmail.com> 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



More information about the R-help mailing list