inline-r-1.0.2: Seamlessly call R from Haskell and vice versa. No FFI required.
Safe HaskellNone
LanguageHaskell2010

Language.R.Internal

Synopsis

Documentation

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

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

r2 :: forall s (a :: SEXPTYPE) (b :: SEXPTYPE). 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.