Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 205372

How to get line number of a function call in R?

$
0
0

For debug purposes, I want to print a line number (and function name) of the place the current function was called from. How do I get this in R?

I've seen a solution of getting the source file name But how to get the line number and function name?


Viewing all articles
Browse latest Browse all 205372

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>