Exception Handling in R-code

Hugh_R_Heinsohn
Hugh_R_Heinsohn
Altair Employee
edited April 2022 in Altair RapidMiner

This video continues and builds upon the video "Best Practices for Using R Transforms."

In this tutorial video you will learn how to improve your R-code to handle exceptions in a way that avoids disruption and assures that your R-transforms always returns a meaningful result. By adding tryCatch-clauses to your R-code, you can make sure that your code always returns a valid data set instead of just stopping, even when there was something wrong with the input to the code. You will learn how to add a description of a successful or unsuccessful transform to your result dataset.