Skip to content
Prev 313069 / 398506 Next

Line numbers with errors and warnings?

Hi,
On Thu, Dec 6, 2012 at 12:01 AM, Worik R <worikr at gmail.com> wrote:
The function that is being called inside the sapply that throws the
error -- is it in a different package?

If you reinstall *that* package w/ `options(keep.source.pkg=TRUE)` (or
R_KEEP_PKG_SOURCE=yes in your environment if installing from cmd line
(see ?options)), does that help?

If not -- could you provide, in a similar fashion as I did w/ the
BadPackage on github from an earlier message in this thread, an
example that recapitulates this "no-line-number-on-error" problem and
point out where/how it happens so we can also trigger it and see? ("I
have a function that does xxx" is hard for anybody else to help you
with).

Also, emacs/ess also has tracebug:

http://code.google.com/p/ess-tracebug/

which may be useful.

anyway ... if you are leaving R for greener pastures, do us a favor
and send us an email w/ an update if you find Nirvana in another
language ;-)

-steve