Citation bug. This is a non-existing pandoc
issue. RStudio is looking for pandoc
in home/user/pandoc
but there is no such file, so it throws an error. The only way I found to make it work so far is to copy the pandoc
from /usr/libexec/rstudio/bin/pandoc/
to the home
directory. I couldn't find where exactly is pandoc
location set to home/user/pandoc
. In RStudio I get
Sys.getenv("RSTUDIO_PANDOC")
[1] "/usr/libexec/rstudio/bin/pandoc"
rmarkdown::find_pandoc()
$version
[1] ‘2.14.0.3’
$dir
[1] "/usr/libexec/rstudio/bin/pandoc"
But when I run R in terminal, I get
> rmarkdown::find_pandoc()
$version
[1] ‘2.14.0.3’
$dir
[1] "/usr/bin"
> Sys.getenv("RSTUDIO_PANDOC")
[1] ""
I tried Sys.setenv...
with a new path, but it doesn't seem to stick.