The browser function can be used like a breakpoint: code execution will pause at the point it is called. Then user can then inspect variable values, execute arbitrary R code and step through the code line by line.
Once browser() is hit in the code the interactive interpreter will start. Any R code ...