Skip to content
Prev 5486 / 21312 Next

[Bioc-devel] A question on IRanges package

On 04/03/2014 04:42 PM, Michael Lawrence wrote:
I think there's an option, set in .Rprofile or as an environment variable 
described in ?options,

   options(keep.source.pkgs=TRUE)

that annotates the source of installed packages with line numbers, e.g., after 
doing this and then installing GenomicRanges (on my own version)

 > library(GenomicRanges)
 > findOverlaps(GRanges(), GRanges(), type="o")
Error in match.arg(type) :
   'arg' should be one of "any", "start", "end", "within", "equal"
 > traceback()
5: stop(gettextf("'arg' should be one of %s", paste(dQuote(choices),
        collapse = ", ")), domain = NA)
4: match.arg(type) at findOverlaps-methods.R#63
3: .local(query, subject, maxgap, minoverlap, type, select, ...)
2: findOverlaps(GRanges(), GRanges(), type = "o")
1: findOverlaps(GRanges(), GRanges(), type = "o")


I'm not really sure which lines are annotated with source information.

Martin