aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrie de Vries <apdevries@gmail.com>2017-09-28 16:48:42 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2017-09-28 08:48:42 -0700
commit2f03f389e8df0c52248d0767a8372184d65e4ba5 (patch)
treeae19ac76730086860f1ae79f453786740f826d29
parentb5d064e8f08db27f3f9aa7287edd7a777be57594 (diff)
downloadpandoc-2f03f389e8df0c52248d0767a8372184d65e4ba5.tar.gz
Support R filters #3940 (#3941)
-rw-r--r--src/Text/Pandoc/App.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/App.hs b/src/Text/Pandoc/App.hs
index c26b8e768..206c47b30 100644
--- a/src/Text/Pandoc/App.hs
+++ b/src/Text/Pandoc/App.hs
@@ -570,6 +570,7 @@ externalFilter ropts f args' d = liftIO $ do
".rb" -> ("ruby", f:args')
".php" -> ("php", f:args')
".js" -> ("node", f:args')
+ ".r" -> ("Rscript", f:args')
_ -> (f, args')
else (f, args')
unless (exists && isExecutable) $ do