[R] email just sent
murdoch at stats.uwo.ca
Mon Sep 1 23:11:52 CEST 2008
ivo welch wrote:
> please ignore part 1. of course, the cat works. my mistake. I just
> need to learn how to step up frames, please.
parent.frame() will give you the frame of the caller. For example, in
caller <- parent.frame()
etc. parent.frame() has an arg specifying how far up the stack you want
to go. There's also the browser() command "where" which shows you the
calling stack, to tell you what to pass to parent.frame.
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
More information about the R-help