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
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> regards,
>
> /iaw
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>