Avraham Adler
2025-Jan-29 19:20 UTC
[Rd] 87668 fails on Windows 10 with "pdflatex not found"
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
Duncan Murdoch
2025-Jan-29 20:00 UTC
[Rd] 87668 fails on Windows 10 with "pdflatex not found"
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
Sebastian Meyer
2025-Jan-29 20:18 UTC
[Rd] 87668 fails on Windows 10 with "pdflatex not found"
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
Apparently Analagous Threads
- 87668 fails on Windows 10 with "pdflatex not found"
- 87668 fails on Windows 10 with "pdflatex not found"
- Latex errors (build on windows)
- [R] Somewhat obscure bug in R 3.4.0 building from source
- installation: while running make, unable to run pdflatex on 'NEWS.tex'