An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20140106/b34c5c3c/attachment.pl>
Packaging: Doubt in relation with "R CMD Rd2pdf packagename"
7 messages · Richard M. Heiberger, Eva Prieto Castro, Duncan Murdoch
This looks like a PATH problem. Most likely Miktex isn't where you told R to find it. FInd out where miktex is by typing pdflatex in the Start button search box. Right click on it when it appears and then click properties. The properties window has a Location field. The value in the location field is what you need to put in your PATH. The change I noticed in the past year is that pdflatex is no longer in miktex\bin. It is now in miktex\bin\x64 Here are some possibilities. The 8.3 names are available from windows. In the MSDOS CMD window, enter dir/x C:\Program Files (x86)\MiKTeX 2.9\miktex\bin c:\Progra~2\MikTeX~1.9\miktex\bin c:\progra~1\MiKTeX2.9\miktex\bin\x64 Rich
On Mon, Jan 6, 2014 at 5:36 PM, Eva Prieto Castro <evapcastro at yahoo.es> wrote:
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.
Regards.
Eva
[[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.
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.
Thank you in advance.
Regards.
Eva
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.
Thank you in advance.
Regards.
Eva
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20140107/762b7d6c/attachment.pl>
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20140107/ad4d404e/attachment.pl>
On 14-01-07 3:35 PM, Eva Prieto Castro wrote:
Hi Rich, Hi everybody I have solved the problem!. I installed MikTeX 2.9 again, but this time I chose basic installation (the other one I had chosen complete installation). I noticed a diference if we compare with the previous situation: now R and MikTeX are installed in the same folder (ProgramFiles) - in the previous situation R was in Program Files and MikTeX was in Program Files (x86).
I would guess the change of location isn't what solved this, but rather that the basic installation loads LaTeX packages on demand, so you probably get newer versions. Duncan Murdoch
Now R CMD check runs correctly and R CMD Rd2pdf runs correctly too.
I am very happy with the results!.
Thank you!
Eva
El Martes 7 de enero de 2014 18:50, Eva Prieto Castro <evapcastro at yahoo.es> escribi?:
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.
Thank you in advance.
Regards.
Eva
[[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.