inline-r-0.9.1: Seamlessly call R from Haskell and vice versa. No FFI required.

Safe HaskellNone
LanguageHaskell2010

Language.R.Internal

Synopsis

Documentation

r1 :: ByteString -> SEXP s a -> IO (SomeSEXP V) Source #

Call a pure unary R function of the given name in the global environment.

r2 :: ByteString -> SEXP s a -> SEXP s b -> IO (SomeSEXP V) Source #

Call a pure binary R function. See r1 for additional comments.

installIO :: String -> IO (SEXP V Symbol) Source #

Internalize a symbol name.