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

Eva Prieto Castro evapcastro at yahoo.es
Tue Jan 7 18:50:30 CET 2014

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.


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.

Thank you in advance.



More information about the R-help mailing list