# [R] Packaging: Doubt in relation with "R CMD Rd2pdf packagename"

Richard M. Heiberger rmh at temple.edu
Tue Jan 7 19:06:29 CET 2014

```The image suggests that you are missing a font.  Someone else might be
able to help with that.

On Tue, Jan 7, 2014 at 12:50 PM, Eva Prieto Castro <evapcastro at yahoo.es> wrote:
> Thanks Rich. I used your indications, but it was correctly in PATH variable.
> My path is C:\Program Files (x86)\MiKTeX 2.9\miktex\bin.
>
> I send you a print. Do you have any other idea?.
>
> Thanks again.
>
> Eva
>
>
>
>
> El Lunes 6 de enero de 2014 23:36, Eva Prieto Castro <evapcastro at yahoo.es>
> escribió:
>
> Hi everybody,
>
> I have created a package without documentation and now I want to create it
> with a pdf manual. That is the reason why I have created the .Rd files in
> man folder. In this way I obtain a pdf manual usind "R CMD check
> packagename", but it ignores the \code{\link{function.name}}... I mean the
> function.name does not appear as a hiperlink although I use \link in the rd
> file.
>
> I supose (I don't know if that is true) that the hiperlink and index
> requires other way of generating the pdf manual, but when I use "R CMD
> Rd2pdf packagename" I obtain the following error:
>
> Error: running 'texti2dvi' on 'Rd2.tex' failed
> LaTeX errors:
> !pdfTeX error: pdflatex.EXE <file t1-zi4r-0>: Fot t1-zi4r-0 at 540 not found
> -- Fatal error ocurred, no output PDF file produced!
> Error in running tools::texti2pdf()
>
> Sometimes the message error mentions inconsolata and zi4.sty. Then I install
> (or uninstall) inconsolata since MikTex package manager and the error turns
> to the other I described.
>
> I am using MikTeX 2.9 in Windows 8. I have tested in Windows 7 and the
> results are the same.
>
> How can I obtain the pdf manual?. The fact of solving this problem is very
> important for me.
>