Is there a way to have R return the line number in a script when it errors out? I call my script like: $ R --vanilla < script.R > output.txt I seem to remember a long discussion about this at some point, but I can't remember the outcome. Tx