[Rd] 87668 fails on Windows 10 with "pdflatex not found"

Avraham Adler @vr@h@m@@d|er @end|ng |rom gm@||@com
Thu Jan 30 17:39:17 CET 2025


On Wed, Jan 29, 2025 at 3:18 PM Sebastian Meyer <seb.meyer using 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 using r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-devel



More information about the R-devel mailing list