Jeffrey and Jeff,
Thank you for clearing this up.
The problem was that I didn't read page 47 of the guide carefully. The
introduction of the <<- operator on page 44 leaves
me with the impression that <<- will create an assignment in the local
environment THAT ALSO holds true for the next
higher
> -Original Message-
> From: r-help-boun...@r-project.org
> [mailto:r-help-boun...@r-project.org] On Behalf Of Nordlund,
> Dan (DSHS/RDA)
> Sent: Thursday, December 18, 2008 5:00 PM
> To: r-help@r-project.org
> Subject: Re: [R] understanding recursive functions
> -Original Message-
> From: r-help-boun...@r-project.org
> [mailto:r-help-boun...@r-project.org] On Behalf Of
> ted.hard...@manchester.ac.uk
> Sent: Thursday, December 18, 2008 2:52 PM
> To: r-help@r-project.org
> Cc: joseph.g.bo...@gsk.com
> Subject: Re: [R]
Peter Dalgaard wrote:
> Wacek Kusnierczyk wrote:
>>
>>>
>>> " The operators '<<-' and '->>' cause a search to made through the
>>> environment for an existing definition of the variable being
>>> assigned. If such a variable is found (and its binding is not
>>> locked) then its val
Wacek Kusnierczyk wrote:
Wacek Kusnierczyk wrote:
it's a pity that <<- is not explained in ?`<<-` clearly enough:
" The operators '<<-' and '->>' cause a search to made through the
environment for an existing definition of the variable being
assigned. If such a variable is found (an
Wacek Kusnierczyk wrote:
>
> it's a pity that <<- is not explained in ?`<<-` clearly enough:
>
> " The operators '<<-' and '->>' cause a search to made through the
> environment for an existing definition of the variable being
> assigned. If such a variable is found (and its binding is
Jeffrey Horner wrote:
> joseph.g.bo...@gsk.com wrote on 12/18/2008 04:22 PM:
>> I'm trying to understand the use of recursive functions described on
>> page 45 of An Introduction to R by the R core development team.
>>
>> A function is a list of expressions, which all get executed with only
>> the
On 18-Dec-08 22:33:28, Jeffrey Horner wrote:
> joseph.g.bo...@gsk.com wrote on 12/18/2008 04:22 PM:
>> I'm trying to understand the use of recursive functions described
>> on page 45 of An Introduction to R by the R core development team.
>>
>> A function is a list of expressions, which all get ex
joseph.g.bo...@gsk.com wrote on 12/18/2008 04:22 PM:
I'm trying to understand the use of recursive functions described on page
45 of An Introduction to R by the R core development team.
A function is a list of expressions, which all get executed with only the
last being assigned to a global va
9 matches
Mail list logo