The idea is to be able to catch parse errors before we try to evaluate, I've tried to do this through the internal R_ParseVector() function, but unfortunately because of how things are implemented in R, this does not give access to error messages, so instead this use an R call behind a tryCatch() , i.e. if the cell [7] has 1+1 this will evaluate :
The idea is to be able to catch parse errors before we try to evaluate, I've tried to do this through the internal
R_ParseVector()
function, but unfortunately because of how things are implemented in R, this does not give access to error messages, so instead this use an R call behind atryCatch()
, i.e. if the cell[7]
has1+1
this will evaluate :so that we either get
This PR does not handle yet the case when the expression does parse, it just echoes. Will do in a follow up