I see there have been a number of tweaks to the document build recently (87650, 87654, 87658, 97660, 97661, etc.) I tried building 87668 today on Windows 10 and received the error below. Is this related? Thank you, Avi building/updating vignettes for package 'grid' ... processing 'displaylist.Rnw' Error: compiling TeX file 'displaylist.tex' failed with message: pdflatex is not available Execution halted building/updating vignettes for package 'parallel' ... processing 'parallel.Rnw' Error: compiling TeX file 'parallel.tex' failed with message: pdflatex is not available Execution halted building/updating vignettes for package 'utils' ... processing 'Sweave.Rnw' Error: running Sweave on vignette 'C:/RDevel/avraham/R/trunk/src/library/utils/vignettes/Sweave.Rnw' failed with message: chunk 2 Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet, : pdflatex is not available Execution halted make[2]: *** [Makefile.win:99: vignettes] Error 1 make[1]: *** [Makefile:345: vignettes] Error 2 make: *** [Makefile:395: distribution] Error 2
87668 fails on Windows 10 with "pdflatex not found"
5 messages · Avraham Adler, Duncan Murdoch, Sebastian Meyer
The builder runs tools::texi2pdf() on the vignettes. Does that give the same error for you? Do earlier revisions work? Duncan Murdoch
On 2025-01-29 2:20 p.m., Avraham Adler wrote:
I see there have been a number of tweaks to the document build recently (87650, 87654, 87658, 97660, 97661, etc.) I tried building 87668 today on Windows 10 and received the error below. Is this related? Thank you, Avi building/updating vignettes for package 'grid' ... processing 'displaylist.Rnw' Error: compiling TeX file 'displaylist.tex' failed with message: pdflatex is not available Execution halted building/updating vignettes for package 'parallel' ... processing 'parallel.Rnw' Error: compiling TeX file 'parallel.tex' failed with message: pdflatex is not available Execution halted building/updating vignettes for package 'utils' ... processing 'Sweave.Rnw' Error: running Sweave on vignette 'C:/RDevel/avraham/R/trunk/src/library/utils/vignettes/Sweave.Rnw' failed with message: chunk 2 Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet, : pdflatex is not available Execution halted make[2]: *** [Makefile.win:99: vignettes] Error 1 make[1]: *** [Makefile:345: vignettes] Error 2 make: *** [Makefile:395: distribution] Error 2
______________________________________________ R-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Sorry, that misses a step. You should try R CMD Sweave --pdf displaylist.Rnw which runs it through Sweave to make displaylist.tex and then tries to run texi2pdf() on that. Duncan Murdoch
On 2025-01-29 3:00 p.m., Duncan Murdoch wrote:
The builder runs tools::texi2pdf() on the vignettes. Does that give the same error for you? Do earlier revisions work? Duncan Murdoch On 2025-01-29 2:20 p.m., Avraham Adler wrote:
I see there have been a number of tweaks to the document build
recently (87650, 87654, 87658, 97660, 97661, etc.)
I tried building 87668 today on Windows 10 and received the error
below. Is this related?
Thank you,
Avi
building/updating vignettes for package 'grid' ...
processing 'displaylist.Rnw'
Error: compiling TeX file 'displaylist.tex' failed with message:
pdflatex is not available
Execution halted
building/updating vignettes for package 'parallel' ...
processing 'parallel.Rnw'
Error: compiling TeX file 'parallel.tex' failed with message:
pdflatex is not available
Execution halted
building/updating vignettes for package 'utils' ...
processing 'Sweave.Rnw'
Error: running Sweave on vignette
'C:/RDevel/avraham/R/trunk/src/library/utils/vignettes/Sweave.Rnw'
failed with message:
chunk 2
Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet, :
pdflatex is not available
Execution halted
make[2]: *** [Makefile.win:99: vignettes] Error 1
make[1]: *** [Makefile:345: vignettes] Error 2
make: *** [Makefile:395: distribution] Error 2
______________________________________________ R-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
Am 29.01.25 um 20:20 schrieb Avraham Adler:
I see there have been a number of tweaks to the document build recently (87650, 87654, 87658, 97660, 97661, etc.)
To Rd2pdf, yes, mostly bug fixes for some rare usages. Some more changes are in the making, also for texi2pdf (but that has not been touched yet).
I tried building 87668 today on Windows 10 and received the error below. Is this related?
Thanks for checking, it shouldn't be. I doubt the error is related to the Rd2pdf changes as that isn't involved in building the vignettes. You could try an older revision or maybe R-patched or render a minimal LaTeX document using tools::texi2pdf(), to see if the error isn't just related to your LaTeX setup. The error suggests that whatever program is set to be PDFLATEX on your system, usually pdflatex, cannot be found: smells like a PATH issue. Best regards, Sebastian Meyer
Thank you, Avi building/updating vignettes for package 'grid' ... processing 'displaylist.Rnw' Error: compiling TeX file 'displaylist.tex' failed with message: pdflatex is not available Execution halted building/updating vignettes for package 'parallel' ... processing 'parallel.Rnw' Error: compiling TeX file 'parallel.tex' failed with message: pdflatex is not available Execution halted building/updating vignettes for package 'utils' ... processing 'Sweave.Rnw' Error: running Sweave on vignette 'C:/RDevel/avraham/R/trunk/src/library/utils/vignettes/Sweave.Rnw' failed with message: chunk 2 Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet, : pdflatex is not available Execution halted make[2]: *** [Makefile.win:99: vignettes] Error 1 make[1]: *** [Makefile:345: vignettes] Error 2 make: *** [Makefile:395: distribution] Error 2
______________________________________________ R-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel
On Wed, Jan 29, 2025 at 3:18?PM Sebastian Meyer <seb.meyer at fau.de> wrote:
Am 29.01.25 um 20:20 schrieb Avraham Adler:
I see there have been a number of tweaks to the document build recently (87650, 87654, 87658, 97660, 97661, etc.)
To Rd2pdf, yes, mostly bug fixes for some rare usages. Some more changes are in the making, also for texi2pdf (but that has not been touched yet).
I tried building 87668 today on Windows 10 and received the error below. Is this related?
Thanks for checking, it shouldn't be. I doubt the error is related to the Rd2pdf changes as that isn't involved in building the vignettes. You could try an older revision or maybe R-patched or render a minimal LaTeX document using tools::texi2pdf(), to see if the error isn't just related to your LaTeX setup. The error suggests that whatever program is set to be PDFLATEX on your system, usually pdflatex, cannot be found: smells like a PATH issue.
Thank you, all. Yes, this was a user error on my part. I have two computers on which I build R, and I used the wrong mapping file when setting up the gcc and miktex links. So, pdflatex was not where I told it to be, precisely as described. Thank you again! Avi
Best regards,
Sebastian Meyer
Thank you, Avi building/updating vignettes for package 'grid' ... processing 'displaylist.Rnw' Error: compiling TeX file 'displaylist.tex' failed with message: pdflatex is not available Execution halted building/updating vignettes for package 'parallel' ... processing 'parallel.Rnw' Error: compiling TeX file 'parallel.tex' failed with message: pdflatex is not available Execution halted building/updating vignettes for package 'utils' ... processing 'Sweave.Rnw' Error: running Sweave on vignette 'C:/RDevel/avraham/R/trunk/src/library/utils/vignettes/Sweave.Rnw' failed with message: chunk 2 Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet, : pdflatex is not available Execution halted make[2]: *** [Makefile.win:99: vignettes] Error 1 make[1]: *** [Makefile:345: vignettes] Error 2 make: *** [Makefile:395: distribution] Error 2
______________________________________________ R-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel