Skip to content
Prev 48161 / 63424 Next

C API for parse error

On Apr 29, 2014, at 6:39 AM, JaiReddy <avula.jayakrishna at gmail.com> wrote:

            
R_ParseErrorMsg

But AFAICS it's not part of the API, so beware (although it's not hidden). By now I think it's safer to use try(parse(text=), silent=TRUE) which gives you the full error with details (the Msg is only one part). It could be worthwhile to think about exposing a C-level API to all the R_ParseError* pieces, though - but I'll leave that to the parser experts since only they know if this is now stable enough.

Cheers,
Simon