Skip to content
Back to formatted view

Raw Message

Message-ID: <50C5D2F6.3000407@gmail.com>
Date: 2012-12-10T12:17:58Z
From: Duncan Murdoch
Subject: Getting the latex file from R CMD check
In-Reply-To: <30C55236-2F57-463E-9C2D-BE0240FFEAB6@gmail.com>

On 12-12-10 7:08 AM, Guillaume Chapron wrote:
> Hi list,
>
> I'm running R CMD check for a package and I would like to save the .tex file that generates later the pdf documentation.
>
> I have only seen it appearing and disappearing quickly in a tmp folder but I have not been able to save it. I could not find any option to the check command to save it.
>
> Any idea how I can save this tex file? Thanks

I don't know if check has an option to leave it behind, but you can 
create it using

R CMD Rd2pdf --no-clean pkgname

With the --no-clean option this will leave behind a temporary directory 
with all the intermediate files in it.

Duncan Murdoch