[R] line number of errors?

Martin Maechler maechler at stat.math.ethz.ch
Wed Mar 24 17:07:23 CET 2004


>>>>> "ivo" == ivo welch <ivo.welch at yale.edu>
>>>>>     on Wed, 24 Mar 2004 10:49:55 -0500 writes:

    ivo> Is it possible to instruct R to output a line number
    ivo> Is it possible to instruct R to output a line number
    ivo> when an error or warning is encountered in a source()
    ivo> file?

yes, it is possible, since R is a complete programming language,
you can write a new version of source()...  ;-) 
:-)

Note that this feature is for free when using 
ESS (Emacs Speaks Statistics),
and it's C-c C-l (or [Load Source File] entry from the 'iESS'
		  or [Load File] from the 'ESS' menu)

Regards,
Martin




More information about the R-help mailing list