inline-r-1.0.1: Seamlessly call R from Haskell and vice versa. No FFI required.
Copyright(C) 2013 Amgen Inc.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Foreign.R.Parse

Description

Bindings for R/R_ext/Parse.h.

Synopsis

Documentation

parseVector :: In a [Nil, String] => SEXP s String -> Int -> Ptr CInt -> SEXP s a -> IO (SEXP s Expr) Source #

parseVector text num status source parses the input string into an AST. source, if provided, names the origin of text (e.g. a filename). num limits the number of expressions to parse, or -1 if no limit.

data ParseStatus Source #

The return code of a call to parseVector, indicating whether the parser failed or succeeded.