. While executing the code, there is an error within one of the functions present in the code. What command will you use to find the function that is facing problem?

Category: R Language. While executing the code, there is an error within one of the functions present in the code. What command will you use to find the function that is facing problem?
Editor">Editor Staff asked 2 years ago

Suppose that while writing the R code that consists of multiple functions. While executing
the code, there is an error within one of the functions present in the code. What command will
you use to find the function that is facing problem?

2 Answers
Editor">Editor Staff answered 2 years ago

traceback()

Editor">Editor Staff answered 2 years ago

traceback()