[R] Rd2pdf freeze

Duncan Murdoch murdoch.duncan at gmail.com
Sun Nov 4 14:55:59 CET 2012


On 12-11-04 8:50 AM, Pierrick Bruneau wrote:
> Hi everyone,
>
>>From the currently available version of the package VBmix, I would like to
> retrieve the intermediate .tex file that generates the VBmix-manual.pdf
> file.
> Formerly, running R CMD check with --no-clean allowed to get this tex
> source from a hidden directory : this feature was removed, but can
> apparently still be accessed through R CMD Rd2pdf --no-clean.
>
> Surprisingly, while the manual generation runs with no warnings when
> issuing "R CMD check --as-cran VBmix_0.2.9.tar.gz",
> "R CMD Rd2pdf VBmix_0.2.9.tar.gz" collapses under warnings, until it simply

A tar.gz file is not an Rd file.  The help for Rd2pdf says it accepts 
the files in these ways:

Generate PDF output from the Rd sources specified by files, by
either giving the paths to the files, or the path to a directory with
the sources of a package, or an installed package.

So you need to untar the file and specify the directory for it, you 
can't use a tar.gz file here.

Duncan Murdoch

> freezes...
> A sample :
>    VBmix_0.2.9.tar.gz:30918: unexpected '{'
> Warning in parse_Rd("VBmix_0.2.9.tar.gz", encoding = "unknown", fragment =
> FALSE,  :
>    VBmix_0.2.9.tar.gz:30921: unexpected '}'
> Warning in parse_Rd("VBmix_0.2.9.tar.gz", encoding = "unknown", fragment =
> FALSE,  :
>    VBmix_0.2.9.tar.gz:30929: unexpected '{'
> Warning in parse_Rd("VBmix_0.2.9.tar.gz", encoding = "unknown", fragment =
> FALSE,  :
>    VBmix_0.2.9.tar.gz:30932: unexpected '}'
> Warning in parse_Rd("VBmix_0.2.9.tar.gz", encoding = "unknown", fragment =
> FALSE,  :
>
>
> Rd files are encoded as regular ASCII text, I cannot get what is going
> wrong... Any idea ?
> Thanks by advance for your help.
>
> Pierrick Bruneau
> Research Associate
> CRP Gabriel Lippmann (Luxemburg)
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org 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.
>




More information about the R-help mailing list