Hmm. I need to do some pondering on that one. I do not really
understand it, at least not yet.
Tom
Barry Rowlingson wrote:
On Thu, Mar 11, 2010 at 12:30 PM, Tom Backer Johnsen
wrote:
Is it possible to get hold of the name of a frame?
I can't see a direct way, but you could captu
On Thu, Mar 11, 2010 at 12:30 PM, Tom Backer Johnsen
wrote:
> Is it possible to get hold of the name of a frame?
>
I can't see a direct way, but you could capture the output of print:
> framename=function(frame){capture.output(print(frame))}
> foo=function(x){framename(sys.frame(1))}
> foo()
Is it possible to get hold of the name of a frame?
Tom
__
R-help@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-c
3 matches
Mail list logo