Hi, im new to this program and I wanted to use the R markdown to create the example PDF. I can create a html but it doesnt work with PDF. It shows me the error shown below:
Please I need some help, i don't know what to do, maybe its because of my accent in my name Julián that has the name in the C:/Users but it should work with accent too right?
==> rmarkdown::render('C:/Users/Juli\u{e1}n/Documents/hola.Rmd', encoding = 'UTF-8');
processing file: hola.Rmd
"C:/RStudio/resources/app/bin/quarto/bin/tools/pandoc" +RTS -K512m -RTS hola.knit.md --to latex --from markdown+autolink_bare_uris+tex_math_single_backslash --output hola.tex --lua-filter "C:\Users\Julián\AppData\Local\R\win-library\4.3\rmarkdown\rmarkdown\lua\pagebreak.lua" --lua-filter "C:\Users\Julián\AppData\Local\R\win-library\4.3\rmarkdown\rmarkdown\lua\latex-div.lua" --embed-resources --standalone --highlight-style tango --pdf-engine pdflatex --variable graphics --variable "geometry:margin=1in"
output file: hola.knit.md
! ...ulián\AppData\Roaming\TinyTeX\bin\windows\runscript.tlu:941: ...ulián\AppData\Roaming\TinyTeX\bin\windows\runscript.tlu:864: no appropriate script or program found: fmtutil
! kpathsea: Running mktexfmt pdflatex.fmt
Error: LaTeX failed to compile hola.tex. See The R package tinytex - Helper Functions to Manage TinyTeX, and Compile LaTeX Documents - Yihui Xie | 谢益辉 for debugging tips. See hola.log for more info.
Además: Warning messages:
1: In strsplit(info, "\n") :
unable to translate 'User data directory: C:\Users\Julin\AppData\Roaming\pandoc' to a wide string
2: In strsplit(info, "\n") : input string 4 is invalid
Ejecución interrumpida