Berwin A Turlach wrote:
> On Sat, 14 Mar 2009 07:22:34 +0100
> Wacek Kusnierczyk wrote:
>
> [...]
>
>>> Well, I don't see any new object created in my workspace after
>>> x <- 4
>>> names(x) <- "foo"
>>> Do you?
>>>
>>>
>> of course not. that's why i'd say the two above are *
On Sat, 14 Mar 2009 07:22:34 +0100
Wacek Kusnierczyk wrote:
[...]
> > Well, I don't see any new object created in my workspace after
> > x <- 4
> > names(x) <- "foo"
> > Do you?
> >
>
> of course not. that's why i'd say the two above are *not*
> equivalent.
>
> i haven't noticed th
On Fri, 13 Mar 2009, William Dunlap wrote:
Would it make anyone any happier if the manual said
that the replacement functions should not be called
in the form
xNew <- `func<-` (xOld, value)
and should only be used as
func(xToBeChanged) <- value
?
That was my reaction, too. The discussion