New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RStudio cannot find pandoc on Windows remote desktop #1866
Comments
|
I think this is related to #1268 about UNC path and pandoc not dealing well with it. From Community, we see the command contains paths beggining with output file: test.knit.md
"C:/Program Files/RStudio/bin/pandoc/pandoc" +RTS -K512m -RTS test.utf8.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash --output test.html --email-obfuscation none --self-contained --standalone --section-divs --template "\\file01\apps\RLibrary\rmarkdown\rmd\h\default.html" --no-highlight --variable highlightjs=1 --variable "theme:bootstrap" --include-in-header "C:\Users\PeterP\AppData\Local\Temp\RtmpkVdgnd\rmarkdown-str251b8458b147.html" --mathjax --variable "mathjax-url:https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" --lua-filter "\\file01/apps/RLibrary/rmarkdown/rmd/lua/pagebreak.lua" --lua-filter "\\file01/apps/RLibrary/rmarkdown/rmd/lua/latex-div.lua"
pandoc.exe: \\: openBinaryFile: does not exist (No such file or directory)
Error: pandoc document conversion failed with error 1
Execution halted |
|
Hi, I tried to change the .libPaths() to a mapped drive, e.g. "N:/folder-name" and RMArkdown now works. However, I get errors from other packages. |
|
I still believe this is related to #1268 and we'll keep that one open. I close this is to no duplicate tracking. Thanks for the report. As an update note, this is a very hard issue for use to solve. It is probably something caused also by Pandoc and not easy to debug. |
|
Duplicate of #1268 |
|
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary. |
We moved to Windows Remote Desktop and RMarkdown now throws an error as it cannot seem to fine the Pandoc executable.
I raised this on RStudio Community some days ago.
When knitting, RMarkdown calls
C:/Program Files/RStudio/bin/pandoc/pandoc, but I get this error:pandoc.exe: \\: openBinaryFile: does not exist (No such file or directory)The system variable
RSTUDIO_PANDOCis set toC:/Program Files/RStudio/bin/pandoc.Using Powershell, I do see the two executable files in that folder.
To make matters wordse, when I run
remotes::install_github('rstudio/rmarkdown'), the system breaks (htmltools is not installable). I installed the standard version (see below).Session info:
By filing an issue to this repo, I promise that
xfun::session_info('rmarkdown'). I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version:remotes::install_github('rstudio/rmarkdown').I understand that my issue may be closed if I don't fulfill my promises.
The text was updated successfully, but these errors were encountered: