Skip to content
Prev 307222 / 398503 Next

get: problem with environments

Hi,

I am getting the same error message as Michael got (R terminal (R 2.15) on Ubuntu 12.04).


? testfun(x=5)
#Error in sys.frame(which = x) : not that many frames on the stack
?print(testfun(x=6))
#Error in sys.frame(which = x) : not that many frames on the stack

A.K.

----- Original Message -----
From: R. Michael Weylandt <michael.weylandt at gmail.com>
To: Martin Ivanov <tramni at abv.bg>
Cc: r-help at r-project.org
Sent: Sunday, October 7, 2012 5:34 AM
Subject: Re: [R] get: problem with environments
On Sun, Oct 7, 2012 at 10:16 AM, Martin Ivanov <tramni at abv.bg> wrote:
Unlike you, I don't get testfun(x = 5) to work in a terminal emulator.
As expected, I only get x =1 and print(... x = 2) to work and I just
tried this with R 2.15.0 and R devel, both in Terminal and by way of
ESS.? It could be a buglet introduced later into the 2.15 branch, but
that seems unlikely. As expected,
Error in sys.frame(which = x) : not that many frames on the stack

Can someone else confirm the behavior you see?

Cheers,
Michael

______________________________________________
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.