Can I run R code straight from R src (.R) file instead of .rdb/.rdx? I of course tried simply unzipping tar.gz in the R_LIBS directory but R complains with "not a valid installed package".
Real issue: I am very new to R and all, so this could be something basic. I'm trying to use ess-tracebug (Emacs front-end to trace/browser et al). It works great when I trace functions in .R files because browser outputs filename+line-number when it hits a breakpoint. i.e. something like this: debug at /home/lgd/test/R/test3.R#1: { It even moves the cursor as you step through the function. This is just lovely as I'm sure everyone knows. However, in case of a trace on function in a package (ie loaded from a .rdb/.rdx) there is no filename/linenum information probably because its not retained. i.e. it prints something like this: debugging in: train(net, P, target, error.criterium = "LMS", report = TRUE, Any way to work around this? Thanks for all insights. [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.