The first pandoc in my $PATH is the Anaconda one, but RStudio is happily ignoring it. I created a new topic:
Let's see if someone knows how to fix this.