Deprecated

In favour of

Rlang-QQ

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

Version on this page:0.3.1.0
LTS Haskell 6.33:0.3.1.0
Stackage Nightly 2016-05-25:0.3.1.0
Latest on Hackage:0.3.1.0
BSD3 licensed and maintained by Adam Vogt

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.

comments powered byDisqus