I was using Rstudio Desktop to practice compiling a CV file to PDF, yet RStudio failed. The CV file was created in R Markdown, I checked the info in Render, the message below was the info:
! sh: pdflatex: command not found
rmarkdown::render('your-input.Rmd')
錯誤發生在 abs_path(input):The file 'your-input.Rmd' does not exist.
此外: 警告訊息:
於 normalizePath(path, winslash = winslash, mustWork = mustWork):
path[1]="your-input.Rmd": No such file or directory
After running the code you provided, it showed "No such file or directory".