Martin Maechler wrote:
> but notably not mainly by the above. I'd consider the backtick
> operator as -- very nice -- syntactic sugar for
> assign() and get().
>
> And, for "normal" identifiers,
>
> foo <- 1
> `foo` <- 1
> assign("foo", 1)
>
"foo" <- 1
# same effect as above
>
> "PD" == Peter Dalgaard <[EMAIL PROTECTED]>
> on Tue, 18 Nov 2008 15:07:04 +0100 writes:
PD> Martin Maechler wrote:
>>> "PD" == Peter Dalgaard <[EMAIL PROTECTED]> on
>>> Tue, 18 Nov 2008 00:00:40 +0100 writes:
PD> Martin Maechler wrote:
>> >> But
On Tue, 18 Nov 2008, Peter Dalgaard wrote:
Martin Maechler wrote:
"PD" == Peter Dalgaard <[EMAIL PROTECTED]>
on Tue, 18 Nov 2008 00:00:40 +0100 writes:
PD> Martin Maechler wrote:
>> But in spite of all that I agree that I'd have liked
>> `FALSE` <- to signal an error about the
Martin Maechler wrote:
>> "PD" == Peter Dalgaard <[EMAIL PROTECTED]>
>> on Tue, 18 Nov 2008 00:00:40 +0100 writes:
>
> PD> Martin Maechler wrote:
> >> But in spite of all that I agree that I'd have liked
> >> `FALSE` <- to signal an error about the fact
> >> that it is
> "PD" == Peter Dalgaard <[EMAIL PROTECTED]>
> on Tue, 18 Nov 2008 00:00:40 +0100 writes:
PD> Martin Maechler wrote:
>> But in spite of all that I agree that I'd have liked
>> `FALSE` <- to signal an error about the fact
>> that it is a reserved word.
>>
RT> T
On 18/11/2008, at 11:11 AM, Martin Maechler wrote:
Yes. I'd propose that R-core look into how to make assignment to a
reserved word an error.
That's good news. Thanks.
cheers,
Rolf Turner
#
Martin Maechler wrote:
But in spite of all that I agree that I'd have liked
`FALSE` <-
to signal an error about the fact that it is a reserved word.
RT> This is clearly not a very important issue, but it might
RT> bear some thinking about.
Yes. I'd propose that R-core look into
Rolf Turner wrote:
It was recently pointed out by Wacek Kusnierczyk that although one is
prevented from doing
FALSE <- TRUE
one *can* do
assign("FALSE",TRUE)
and have an object named ``FALSE'' with value TRUE in one's workspace.
This apparently has no deleterious effects; e.g. doing
> "RT" == Rolf Turner <[EMAIL PROTECTED]>
> on Tue, 18 Nov 2008 08:49:21 +1300 writes:
RT> It was recently pointed out by Wacek Kusnierczyk that
RT> although one is prevented from doing
RT> FALSE <- TRUE
RT> one *can* do
RT> assign("FALSE",TRUE)
It was recently pointed out by Wacek Kusnierczyk that although one is
prevented from doing
FALSE <- TRUE
one *can* do
assign("FALSE",TRUE)
and have an object named ``FALSE'' with value TRUE in one's workspace.
This apparently has no deleterious effects; e.g. doing
sa
10 matches
Mail list logo