Hello All,
I recently switched to Rstudio server on Ubuntu. I noticed that when I am running R markdown document (that contains flexdashboard and shiny elements) and which runs without a hinge well on windows gives the following warning when I press Run document on the IDE:
Warning in file.rename(from, to) :
cannot rename file '/tmp/Rtmpk1PyVy/file4ac06d25657b_files/figure-html' to '/tmp/Rtmpk1PyVy//tmp/Rtmpk1PyVy/file4ac06d25657b_files/figure-html', reason 'No such file or directory'
/usr/lib/rstudio-server/bin/pandoc/pandoc +RTS -K512m -RTS /tmp/Rtmpk1PyVy/INGholdings.utf8.md --to html4 --from markdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash --output /tmp/Rtmpk1PyVy/file4ac06d25657b.html --email-obfuscation none --standalone --section-divs --template /home/ggbo/R/x86_64-pc-linux-gnu-library/3.5/flexdashboard/rmarkdown/templates/flex_dashboard/resources/default.html --id-prefix section- --variable 'theme:cosmo' --mathjax --variable 'mathjax-url:https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML' --include-in-header /tmp/Rtmpk1PyVy/file4ac079b31ab8html --include-before-body /tmp/Rtmpk1PyVy/file4ac04d215328.html --highlight-style pygments --include-before-body /tmp/Rtmpk1PyVy/file4ac06238bada.html --include-after-body /tmp/Rtmpk1PyVy/file4ac0726c1dfb.html
Warning in file.rename(from, to) :
cannot rename file '/tmp/Rtmpk1PyVy//tmp/Rtmpk1PyVy/file4ac06d25657b_files/figure-html' to '/tmp/Rtmpk1PyVy/file4ac06d25657b_files/figure-html', reason 'No such file or directory'
Output created: /tmp/Rtmpk1PyVy/file4ac06d25657b.html
I check if this file exists and it does exists however I thing that the link it looks for the file is wrong
'/tmp/Rtmpk1PyVy//tmp/Rtmpk1PyVy/file4ac06d25657b_files/figure-html',
should be
'/tmp/Rtmpk1PyVy/file4ac06d25657b_files/figure-html',
Can someone please advise me what to do?
kind regards,
Laurens van der Burg