Re: [Rd] Evaluation puzzle

From: Peter Dalgaard <pdalgd_at_gmail.com>
Date: Fri, 12 Nov 2010 00:25:23 +0100

On 11/11/2010 11:27 PM, Terry Therneau wrote:

> I'm still puzzled by recover though.

It looks like a buglet. You get to the right frame (try ls()) but the "called from" message is off by four frames.

E.g.

Selection: 1
Called from: model.frame(formula = "zed ~ 1+age+sex+year", data = mydata) Browse[1]> ls()
[1] "mydata" "zed"
Browse[1]> tfun
function(mydata) {

     zed <- 100 + (1:nrow(mydata)) * 20
     survexp.test(zed ~ 1, data=mydata)
     }

-- 
Peter Dalgaard
Center for Statistics, Copenhagen Business School
Phone: (+45)38153501
Email: pd.mes_at_cbs.dk  Priv: PDalgd_at_gmail.com

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Thu 11 Nov 2010 - 23:29:25 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 Fri 12 Nov 2010 - 00:50:20 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