Skip to content

email just sent

2 messages · ivo welch, Duncan Murdoch

#
please ignore part 1.  of course, the cat works.  my mistake.  I just
need to learn how to step up frames, please.

regards,

/iaw
#
ivo welch wrote:
parent.frame() will give you the frame of the caller.  For example, in 
the browser,

caller <- parent.frame()
ls(caller)
caller$foo

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.

Duncan Murdoch