Replies: 105 comments 163 replies
-
Dear Yihui, Thanks for your time. I am trying to knit the Rmd file to pdf, but the following shows. Could you help?
Thanks so much! |
Beta Was this translation helpful? Give feedback.
-
Hello Yihui, I am having issues with using R markdown and trying to knit into a pdf. This issue shows up: This is pdfTeX, Version 3.14159265-2.6-1.40.20 (MiKTeX 2.9.7000) log4cxx: setFile(/Users/hoferziccardi/Library/Application Support/MiKTeX/texmfs/data/miktex/log/pdflatex.log,true) call failed. log4cxx: IO Exception : status code = 13 log4cxx: No output stream or file set for the appender named [RollingLogFile]. Sorry, but pdflatex did not succeed. The log file hopefully contains the information to get MiKTeX going again: /Users/hoferziccardi/Library/Application Support/MiKTeX/texmfs/data/miktex/log/pdflatex.log Error: Failed to compile working_List_de_Exercício_1_pdf.tex. See https://yihui.name/tinytex/r/#debugging for debugging tips. Execution halted I'm not sure how to resolve this! |
Beta Was this translation helpful? Give feedback.
-
Sir will be thankful for a few more examples of usage. Thanks |
Beta Was this translation helpful? Give feedback.
-
Hello Yihui, This is pdfTeX, Version 3.14159265-2.6-1.40.20 (MiKTeX 2.9.7000 64-bit) Sorry, but C:UsersFELIXK~1AppDataLocalProgramsMIKTEX~1.9miktexbinx64pdflatex.exe did not succeed. The log file hopefully contains the information to get MiKTeX going again: C:UsersFelix KpogoAppDataLocalMiKTeX2.9miktexlogpdflatex.log Can you please help me resolve this? |
Beta Was this translation helpful? Give feedback.
-
I am having issues with using R markdown and trying to knit into a pdf. ! Package inputenc Error: Unicode character ≥ (U+2265) Try other LaTeX engines instead (e.g., xelatex) if you are using pdflatex. For R Markdown users, see https://bookdown.org/yihui/rmarkdown/pdf-document.html Can you help me? |
Beta Was this translation helpful? Give feedback.
-
Hi Yihui, I am new to LaTeX and tinytex and get this error when trying to knit a PDF:
Can you please advise? |
Beta Was this translation helpful? Give feedback.
-
! Undefined control sequence. Error: Failed to compile example.tex. See https://yihui.name/tinytex/r/#debugging for debugging tips. See example.log for more info. I am getting this error. How should I resolve it? |
Beta Was this translation helpful? Give feedback.
-
Hi, Yihui, Thanks a lot ! |
Beta Was this translation helpful? Give feedback.
-
Hi, Yihui! I try to get the pfd document and the following message appears: tlmgr search --file --global "/grffile.sty" Do you have any recommendations for the file to be generated? Many thanks!! |
Beta Was this translation helpful? Give feedback.
-
Hi, Yihui! I have this Error....output file: Klausur.knit.md "C:/Program Files/RStudio/bin/pandoc/pandoc" +RTS -K512m -RTS Klausur.utf8.md --to latex --from markdown+autolink_bare_uris+tex_math_single_backslash --output Klausur.tex --self-contained --include-in-header "C:UsersANAZADocumentsRwin-library3.5rmarkdownrmdlatexsubtitle.tex" --highlight-style tango --latex-engine pdflatex --variable graphics --include-in-header "C:UsersANAZAAppDataLocalTempRtmpkhl970rmarkdown-str3bb012e16b5c.html" --include-in-header "C:UsersANAZADocumentsRwin-library3.5rmarkdownrmdlatexcompact-title.tex" Fehler: Failed to compile Klausur.tex. See https://yihui.name/tinytex/r/#debugging for debugging tips. See Klausur.log for more info. Can you help me? |
Beta Was this translation helpful? Give feedback.
-
Hi, Yihui! output file: cv.knit.md This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/W32TeX) (preloaded format=pdflatex) kpathsea: Running mktexfmt pdflatex.fmt The command name is C:UserslizbhAppDataRoamingTinyTeXbinwin32mktexfmt ! fmtutil: c:/users/lizbh/appdata/roaming/tinytex/texmf-dist/web2c/fmtutil.cnf ! fmtutil: fmtutil is using the following fmtutil.cnf file for writing changes: ! fmtutil: c:/users/lizbh/documents/.tinytex/texmf-config/web2c/fmtutil.cnf ! fmtutil [INFO]: writing formats under c:/users/lizbh/documents/.tinytex/texmf-var/web2c ! fmtutil [INFO]: did not find entry for byfmt=pdflatex, skipped ! fmtutil [INFO]: total formats: 0 ! fmtutil [INFO]: exiting with status 0 ! Running the command C:UserslizbhAppDataRoamingTinyTeXbinwin32fmtutil-user.exe ! kpathsea: Running mktexfmt pdflatex.fmt ! The command name is C:UserslizbhAppDataRoamingTinyTeXbinwin32mktexfmt Error: Failed to compile cv.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See cv.log for more info. |
Beta Was this translation helpful? Give feedback.
-
Hi! I'm trying to run the bookdown-demo in Rstudio Cloud and it returns me this error: output file: bookdown-demo.knit.md tlmgr search --file --global '/unicode-math.sty' ! Emergency stop. Error: Failed to compile bookdown-demo.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See bookdown-demo.log for more info. Exited with status 1. I updated the packages and when I try to run (tinytex::tlmgr_update()) it returns this error: I already used bookdown in RStudio Cloud and until december, 2019 it was working very well. Can you help me? Thank you! |
Beta Was this translation helpful? Give feedback.
-
Hi please help: kpathsea: Running mktexfmt pdflatex.fmt ! mktexfmt: No such file or directory Error: LaTeX failed to compile Untitled.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See Untitled.log for more info. |
Beta Was this translation helpful? Give feedback.
-
Hi there ! I'm getting this error after trying everything to solve it. What is it about? How can I solve it This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/W32TeX) (preloaded format=pdflatex) |
Beta Was this translation helpful? Give feedback.
-
Hello! I am aware there was a problem with fig.align and knitting a pdf a while back. (rstudio/rmarkdown#325) But I am having this problem now. When I remove the fig.align the document knits to PDF without problems, but when I include it, only the .tex file is produced and the console shows the following message at the end: This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/W32TeX) (preloaded format=pdflatex) Error: LaTeX failed to compile My session info: Matrix products: default locale: attached base packages: other attached packages: |
Beta Was this translation helpful? Give feedback.
-
I had to change my user to julian without accent now it works so I can't
tell you if the other option work.
Bye!
|
Beta Was this translation helpful? Give feedback.
-
Hi Yihui, I'm having problems with using pdfpages package with rmarkdown. I want to insert a multipage PDF into my rmarkdown rendered PDF document. I'm using tinytex. The yaml has \usepackage{pdfpages} and in the body of the rmarkdown I have \includepdf[pages=-]{test.pdf} I keep getting this error: Error: LaTeX failed to compile temp.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See temp.log for more info. I've gone into cmd and used: tlmgr install pdfpages It seems to have said its installed. I see the necessary packages in this location on my PC. I shutdown R-studio and try knitr to PDF, but same error. If I remove the \includepdf[pages=-]{test.pdf} line then the PDF renders. Any suggestions on troubleshooting? I've been working on it for a few days now. I could save each page of the multi-page PDF as an image and use includegraph, but that is not as ideal as doing it all at once. Any help appreciated. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Hello?
|
Beta Was this translation helpful? Give feedback.
-
Hi there! could you please help me fix the following error: output file: ETM_506_PROJECT_REPORT.knit.md tlmgr update --all --self Error: LaTeX failed to compile ETM_506_PROJECT_REPORT.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See ETM_506_PROJECT_REPORT.log for more info. I am unable to knit my rmd file to pdf due to the above error. Please help! |
Beta Was this translation helpful? Give feedback.
-
hey there, when I was using the package "DataExplorer " and using the function "create_report", it raised the error for rending :processing file: Final-Project.rmarkdown
Execution halted but it works well in R ,just not for render, do you know the reason? thanks a million! |
Beta Was this translation helpful? Give feedback.
-
Hello Yihui, I am trying to knit some document with the papaja template. This is the .log file that I have obtained, as it has errors that I don't know how to fix. Someone could know something about this? Thanks!
|
Beta Was this translation helpful? Give feedback.
-
Hi Yihui and Cderv, It's more than 5 months I'm not working in rmd with latex and I tried to compile an old file. Unfortunately I stuck with the same error: ! LaTeX Error: Environment singlespace undefined. this is the script in rmd:
\begin{singlespace} \Large
xxxxxxxxxxxxxxxx\ \Large \Huge \Large \vspace{15mm} \Large \vspace{15mm} \begin{center} |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hi cderv, I'm back for another bug in my old code. ! LaTeX Error: Unknown float option `H'. Error: LaTeX failed to compile wwww.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See wwww.log for more info. After many checks I added this line on the top of my code title: "Introduction"
But I think it is not the float package but the ```{r, fig.cap="xxx"}. At the moment I have:
|
Beta Was this translation helpful? Give feedback.
-
I switched from an Intel Mac to an M3-pro Mac a couple of weeks ago. I migrated everything from the old laptop to this new one, including R and RStudio. Knitting worked perfectly fine on the old laptop, and, however, does not work at all on my new laptop. I keep getting the error message as shown in the image attached. I have tried reinstalling R and RStudio but neither works. Could somebody please help look at this? I couldn't find anything related to this error message online. output file: Homoework-8.knit.md ! Undefined control sequence. \tl_trim_spaces:e {__keys_remove_equals:n { }} l.266 \edef \Gin@driver{\Gin@driver} Error: LaTeX failed to compile Homoework-8.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See Homoework-8.log for more info. Execution halted |
Beta Was this translation helpful? Give feedback.
-
Dear Yihui and cderv, I recently encountered the following error message when I tried to knit my old rmd file, which worked perfectly two months ago. The mistake will disappear if I switch the latex engine from pdflatex to xelatex or lualatex. However, for the last two engines, all my latex customizations do not work. I tried everything mentioned on this page. ! Undefined control sequence. Here is my original yaml codetitle: "xx" ```{=latex}xx.```date: "
Thank you in advance! |
Beta Was this translation helpful? Give feedback.
-
I get following error after my code have usually been working: ! Emergency stop. |
Beta Was this translation helpful? Give feedback.
-
Hi Yihui and cderv,
Thank you in advance |
Beta Was this translation helpful? Give feedback.
-
Hi thanks for all your work on this package. I am compiling and it won't work for some reason, error is ! Undefined control sequence. When I go to l.866, there does not seem to be anything wrong. |
Beta Was this translation helpful? Give feedback.
-
this is my r shiny's application : library(shiny) Données d'exempledata <- data.frame( UIui <- fluidPage( sidebarLayout(
) Serverserver <- function(input, output) { Filtrer les données en fonction de la ville et de l'âge sélectionnésfiltered_data <- reactive({ Rendu du tableau interactifoutput$table <- renderDT({ Télécharger le PDFoutput$download_pdf <- downloadHandler( Lancer l'applicationshinyApp(ui = ui, server = server) and this is the r markdown part : title: "Rapport de données filtrées"
and they keep giving me errors , I installed MIKTEX and I did all of this CRAN versioninstall.packages('tinytex') or the development version on GitHubremotes::install_github('rstudio/tinytex') tinytex::parse_packages() latexmk(engine = 'pdflatex', emulation = TRUE) update.packages(ask = FALSE, checkBuilt = TRUE) options(tinytex.verbose = TRUE) update.packages(ask = FALSE, checkBuilt = TRUE) tinytex::tlmgr_install(c('texlive-scripts', 'dehyph-exptl')) tinytex::uninstall_tinytex() TinyTeX (tinytex::reinstall_tinytex()) and this is the error : Listening on http://127.0.0.1:3130 processing file: report.Rmd output file: report.knit.md "C:/Program Files/RStudio/resources/app/bin/quarto/bin/tools/pandoc" +RTS -K512m -RTS report.knit.md --to latex --from markdown+autolink_bare_uris+tex_math_single_backslash --output pandoc3628d2d65bd.tex --lua-filter "C:\Users\s.rhazi\AppData\Local\Programs\R\R-4.3.3\library\rmarkdown\rmarkdown\lua\pagebreak.lua" --lua-filter "C:\Users\s.rhazi\AppData\Local\Programs\R\R-4.3.3\library\rmarkdown\rmarkdown\lua\latex-div.lua" --embed-resources --standalone --highlight-style tango --pdf-engine pdflatex --variable graphics --include-in-header "C:\Users\SB81C |
Beta Was this translation helpful? Give feedback.
-
The R package tinytex - Helper Functions to Manage TinyTeX, and Compile LaTeX Documents
https://yihui.org/tinytex/r/
Beta Was this translation helpful? Give feedback.
All reactions