In favour of


quasiquoter for inline-R code

Latest on Hackage:

See all snapshots Rlang-QQ appears in

BSD-3-Clause licensed and maintained by Adam Vogt

Module documentation for

This version can be pinned in stack with:[email protected]:5c49d22857fc74133eb5325ec6ce8e8fc0207b738ecf1d50994eeeae4fb2e221,3796

This quasiquoter calls R ( from ghc. Variables from the haskell-side are passed in, and variables created (or modified) are returned as the value of the quasiquote.

The R package knitr is used, which allows recording plots. But for this to work, you need to install it first, for example with:

R --no-save <<< 'install.packages("knitr")'



Bump utf8-string dependency


Support positional arguments

Write input/output files to Rtmp// because different hs files would create the same filename for R input/output.