Re: [Rd] bug (or feature) in alpha 2.13?

From: Duncan Murdoch <murdoch.duncan_at_gmail.com>
Date: Sun, 27 Mar 2011 08:57:08 -0400

On 11-03-27 7:42 AM, Duncan Murdoch wrote:
> On 11-03-26 7:41 PM, Norm Matloff wrote:
>>
>>
>> The pattern (I can make a simple example if needed):
>>
>> > source("x.R")
>> > options(error=recover)
>> > x<- ...
>> > f(x) # f() from x.R
>> (subscript bounds error, now in recover())
>> Selection: 1
>> Browse[1]> where
>>
>> In the output from "where," there should be information on the line
>> number at which the user code blew up. It's there in 2.12, but not in
>> 2.13, from what I can see.
>
> That's not intentional. I'll see what went wrong...
>
> Duncan Murdoch

Fixed now. Because of the internal change to srcref records

       \item \code{"srcref"} attributes now include two additional
       line number values, recording the line numbers in the order they
       were parsed.

the code that saved the current location didn't recognize the record, and skipped saving it.

Duncan Murdoch



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Sun 27 Mar 2011 - 13:06:31 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 27 Mar 2011 - 17:30:36 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive