Skip to content
Prev 325688 / 398503 Next

showing error line

Dear R users,


i am trying to get the line number of the code where an error is 
produced. With the options:

options(keep.source = TRUE, show.error.locations = TRUE, 
keep.source.pkgs = TRUE)

I have managed to get the error locations to show up when i source the 
respective files. They do not, however, show up for the same errors when 
I use installed packages. Do I have to build these packages in a 
specific way?


Cheers
Jannis