Updated to R 4V.0.0 for summer term instructional purposes. Followed all guidance RE installation to use RMD for knitting to HTML, WORD, PDF, as I have done for previous course iterations and version of R and RStudio. But while HTML & WORD knit, PDF will not. Error returned is below. NOTE my 3.5.X and 3.6.X all still work, and I implemented the same installation process for 4.0.0. Unlike other versions, install of tinytex etc does not place a luatex.dll in .\TinyTeX\bin\win32 directories. Curiously, luatex.dll is found in my older 3.5.X and 3.6. Similarly, pdflatex.fmt mising in install from 4.0.0. is current for R4.0.0, with path added per website. In all cases followed advice from Yihui Xie et al. websites.
Have tried several re-installs, including a full install of MikTeX. No joy.
output file: test1.knit.md
This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020/W32TeX) (preloaded format=pdflatex)
restricted \write18 enabled.
I can't find the format file `pdflatex.fmt'!
Running the command C:\Users\tce\AppData\Roaming\TinyTeX\bin\win32\fmtutil-user.exe
kpathsea: Running mktexfmt pdflatex.fmt
The command name is C:\Users\tce\AppData\Roaming\TinyTeX\bin\win32\mktexfmt
I was unable to find any missing LaTeX packages from the error log test1.log.
! Running the command C:\Users\tce\AppData\Roaming\TinyTeX\bin\win32\fmtutil-user.exe
! kpathsea: Running mktexfmt pdflatex.fmt
! The command name is C:\Users\tce\AppData\Roaming\TinyTeX\bin\win32\mktexfmt
ran into same problem. When knitting I get the same popup when installing (the one which one is told to ignore) regarding luatex.dll. Have not found a solution yet
I'm having the same problem. Everything was fine until I had to format Windows. I've tried literally everything, I even downloaded luatex.dll and placed it in C:\Users\Breno\AppData\Roaming\TinyTeX\bin\win32. After that, the error message box asked for lua53.dll, which I also provided, but it didn't work.
This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020/W32TeX) (preloaded format=pdflatex)
restricted \write18 enabled.
I can't find the format file `pdflatex.fmt'!
Running the command C:\Users\Breno\AppData\Roaming\TinyTeX\bin\win32\fmtutil-user.exe
kpathsea: Running mktexfmt pdflatex.fmt
The command name is C:\Users\Breno\AppData\Roaming\TinyTeX\bin\win32\mktexfmt
I was unable to find any missing LaTeX packages from the error log qca.log.
! Running the command C:\Users\Breno\AppData\Roaming\TinyTeX\bin\win32\fmtutil-user.exe
! kpathsea: Running mktexfmt pdflatex.fmt
! The command name is C:\Users\Breno\AppData\Roaming\TinyTeX\bin\win32\mktexfmt
Exact same issue here too. As colonus said: "When knitting I get the same popup when installing (the one which one is told to ignore) regarding luatex.dll". Tried multiple reinstalls. Please let us know if someone figures out the issue!!!
Sidenote: the .tex file gets generated. Just not the PDF.
All. Glad to see I'm not the only one. I found an older R V3.5.3 TTEX V0.15 still working. Ignoring api-* 's, below are NOT found btwn the TTEX V0.22 and TTEX V0.15
length(ttex.v353) # number tinytex files; working version R3.5.3 TTEX V0.15
length(ttex.v400) # number tinytex files; not working R4.0.0 TTEX V0.22
length(unique(ttex.v353[!ttex.v353 %in% ttex.v400])) # number of files not common
unique(ttex.v353[!ttex.v353 %in% ttex.v400]) # files not common
FYI, I did a complete reinstall on a clean CPU to exclude possibility of hanging registries. Truly puzzled here. Thx
TeX Live was broken from yesterday. The TeX Live developers are working on it. You may follow the issue https://github.com/yihui/tinytex/issues/210 for updates. Sorry for the trouble!
Thank you so much Yihui! There's a group of us going crazy thinking we were collectively doing something wrong following your installation instructions. Will follow the post to keep track when TeX Live is live again.