rmarkdown icon indicating copy to clipboard operation
rmarkdown copied to clipboard

Rmarkdown not rendering through Shiny solution

Open syzdekbr opened this issue 1 year ago • 3 comments

I believe I have identified what caused the problem in this issue and a solution. I can see in the OP's post error message "Warning: Error in : LaTeX failed to compile C:\Users\MLEONA~1\AppData\Local..." that his user name is being truncated and replaced with "~". I experienced the same issue. A solution was to shorten the name of the subdirectory of Users directory. I don't know how short it needs to be, but I made it 8 characters and it no longer shortened it and I was able to render Rmarkdown from Shiny.

Hopefully that is helpful to others. I searched for an answer for a long time and it appeared others were stumped by the issue in that issue report, so perhaps adding above information will help others.

Checklist

When filing a bug report, please check the boxes below to confirm that you have provided us with the information we need. Have you:

  • [x ] formatted your issue so it is easier for us to read?

  • [x ] included a minimal, self-contained, and reproducible example?

  • [ x] pasted the output from xfun::session_info('rmarkdown') in your issue?

  • [x ] upgraded all your packages to their latest versions (including your versions of R, the RStudio IDE, and relevant R packages)?

  • [x ] installed and tested your bug with the development version of the rmarkdown package using remotes::install_github("rstudio/rmarkdown")?

syzdekbr avatar Nov 29 '22 22:11 syzdekbr