38  End Note

38.1 Points to ponder

  • It is useful to understand how R (Python) and functions within R (Python) work.

  • While syntactic error is fundamental to resolve, semantic errors are equally important.

  • RStudio environment provides a flexible environment to debug R functions.

  • For Python functions, Spyder, PyCharm and Visual Studio Code provide user-friendly environment to debug functions.

  • Try with a simple, short and resolved problem to debug your function, if possible.

  • It always helps to restart the R (Python) environment to replicate and resolve errors.

  • Sometimes it may be useful to debug a function in a console environment.

  • Enjoy the process of debugging the errors!