В Fri, 1 Mar 2024 10:46:53 -0500
Benjamin Tyner <[email protected]> пишет:
> my platform info:
>
> Platform: x86_64-pc-linux-gnu (64-bit)
> Running under: Ubuntu 22.04.4 LTS
Quick things first: have you installed all the build-dependencies? apt
build-dep r-base (maybe with --install-suggests? haven't tried that in
a while) should do that. In particular, the build dependencies include
texlive-fonts-extra and texlive-latex-extra. That's a lot of packages,
but some of them are required to compile LaTeX documents produced by R.
> you should 'make docs' now ...
> make[1]: Entering directory '/home/btyner/R-4.3.3/doc'
> creating doc/NEWS
> creating doc/NEWS.pdf
> Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet =
> quiet, :
> unable to run pdflatex on 'NEWS.tex'
> LaTeX errors:
> ! LaTeX Error: File `pdftexcmds.sty' not found.
Can you compile a minimal LaTeX document? Something like:
\documentclass{article}
\begin{document}
\[ \mathbf{y} = \mathbf{X} \beta \]
\end{document}
Does tools::texi2pdf('THISFILE.tex') fail with a similar error message?
--
Best regards,
Ivan
______________________________________________
[email protected] mailing list -- To UNSUBSCRIBE and more, see
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.