Error Handling

Most of the error conditions generated within the R environment (example, syntax and runtime errors caused by an R script) or by the integration support libraries (example, broken R installation or missing components) are intercepted and handled by Statistica. Developers can use error handling facilities available in either environment, for example On Error handlers in SVB macros calling R scripts.

However, occasionally R programs can crash or hang. In case the program hangs, program control does not return to Statistica. Therefore, careful validation of the respective R scripts is crucial for enterprise-level deployment of R analysis templates.