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 in spite of all that I agree that I'd
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
and
foo
On 18/11/2008, at 11:11 AM, Martin Maechler wrote:
snip
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
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` - whatever to signal an error about the fact
that it is a reserved word.
RT This is clearly
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` - whatever to signal an error about the fact
that it is a reserved word.
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` - whatever to signal an error about the
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)
RT and have an
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
Martin Maechler wrote:
But in spite of all that I agree that I'd have liked
`FALSE` - whatever
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