How to install Pandoc for Windows?
I have been to their website. I have viewed a YouTube on a related subject. And, so far I don't really get it. My objective is to use Pandoc in conjunction with R Markdown to convert R Markdown HTML document into either Word or Pdf files.
You can install pandoc
in several ways:
Using the x86 or x64 executable from here and installng like any other Windows app: pandoc downloads
Using the x86 or x64 flavor of the
zip
file (same link shown above), and unpack it on the folder of your preference. Then, set manually the path to that folder. Pandoc is only a couple of filespandoc.exe
andpandoc-citeproc.exe
. You may even copy then to your/bin
folder of your preference if want to save adding another PATH.Using the R package
installr
, and then runinstallr::install.pandoc()
. It will automatically install the Windowsmsi
and add the PATH for you. You may review the user path in environment variables:C:\Users\user_name\AppData\Local\Pandoc\
.
Reload the environment variables by restarting your PC.
If you have RStudio installed (and most R users do) then you already have a pandoc binary. Maybe just add that directory to your $PATH
?