Deprecated

In favour of

Rlang-QQ

quasiquoter for inline-R code http://code.haskell.org/~aavogt/Rlang-QQ

Latest on Hackage:0.3.1.0

See all snapshots Rlang-QQ appears in

BSD-3-Clause licensed and maintained by Adam Vogt

Module documentation for 0.3.1.0

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

This quasiquoter calls R (http://www.r-project.org/) 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")'

Changes

0.3.1

Bump utf8-string dependency

0.3

Support positional arguments

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