On Sun, Dec 29, 2013 at 11:37 PM, andrewH ahoer...@rprogress.org wrote:
Dear Ista--
Peter's post has already persuaded me that my original question was based on
several misunderstandings and so difficult if not impossible to follow --
though he did a remarkable job of figuring out where I was
-project.org [mailto:r-help-boun...@r-project.org]
On Behalf
Of andrewH
Sent: Sunday, December 29, 2013 3:57 PM
To: r-help@r-project.org
Subject: Re: [R] What purpose is served by reflexive function
assignments?
Dear David--
Thanks so much for your helpful reply!
David Winsemius
Dear David--
I think I am straight on the dopiness of my original question.
In trying to make sure I understand your example, I ran this function
below. It seems to assign the value of V from the calling environment to X
as a default, ignored if X is given a value positionally, used if not. It
You posted this same question two weeks ago, received a reasonable
question in response, and ignored it.
If you want help on the list please respond to questions. If the
discussion goes offline, please post a summary when it is done.
Duncan Murdoch
On 13-12-28 10:27 PM, Andrew Hoerner
Dear Duncan --
I am terribly sorry. I had a browser crash, and when I reopened it I found a
tab with a Nabble composition box containing an unposted version of my
question. So I thought I had never hit the send button, so I edited it a
bit and sent it off. I should have checked first. My
Dear David--
Thanks so much for your helpful reply!
David Winsemius wrote:
The LHS X becomes a name, the RHS X will be looked up in the calling
environment and fails if no value is positionally matched and then no X is
found (at the time of the function definition.
Does X really have to exist
, TIBCO Software
wdunlap tibco.com
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf
Of andrewH
Sent: Sunday, December 29, 2013 3:57 PM
To: r-help@r-project.org
Subject: Re: [R] What purpose is served by reflexive function
On Dec 29, 2013, at 3:57 PM, andrewH wrote:
Dear David--
Thanks so much for your helpful reply!
David Winsemius wrote:
The LHS X becomes a name, the RHS X will be looked up in the calling
environment and fails if no value is positionally matched and then
no X is
found (at the time of the
Dear Peter--
This is a truly wonderful explanation. It makes many things clear that were
completely mysterious to me. For one thing, I realize that, for functions
called inside the definitions of other functions, I have been confusing
function definitions with function calls -- as if the called
Dear Ista--
Peter's post has already persuaded me that my original question was based on
several misunderstandings and so difficult if not impossible to follow --
though he did a remarkable job of figuring out where I was going astray and
what examples might set me right.
But I will post the
Let us suppose that we have a function foo(X) which is called inside
another function, bar(). Suppose, moreover, that the name X has been
assigned a value when foo is called:
X - 2
bar(X=X){
foo(X)
}
I have noticed that many functions contain arguments with defaults of the
form X=X. Call this
On Sat, Dec 28, 2013 at 10:27 PM, Andrew Hoerner ahoer...@rprogress.org wrote:
Let us suppose that we have a function foo(X) which is called inside
another function, bar(). Suppose, moreover, that the name X has been
assigned a value when foo is called:
X - 2
bar(X=X){
foo(X)
}
I have
On Sat, Dec 28, 2013 at 7:27 PM, Andrew Hoerner ahoer...@rprogress.org wrote:
Let us suppose that we have a function foo(X) which is called inside
another function, bar(). Suppose, moreover, that the name X has been
assigned a value when foo is called:
X - 2
bar(X=X){
foo(X)
}
I have
On Dec 28, 2013, at 7:27 PM, Andrew Hoerner wrote:
Let us suppose that we have a function foo(X) which is called inside
another function, bar(). Suppose, moreover, that the name X has been
assigned a value when foo is called:
X - 2
bar(X=X){
foo(X)
}
I have noticed that many
14 matches
Mail list logo