Skip to content

Fix documentation about <- and = differences

3 messages · Philip Rogers, Duncan Murdoch

#
On 2025-01-04 1:25 a.m., Philip Rogers wrote:
Why do you think the SO answer is right and the docs are wrong?  Maybe 
the parser is just missing a user error.

My own feeling is that any use of "=" as an assignment operator is too much.

Duncan Murdoch
#
On 2025-01-04 1:25 a.m., Philip Rogers wrote:
By the way, the SO answer is wrong about the history of this.  It says 
that this message:  https://developer.r-project.org/equalAssign.html is 
the "original explanation by John Chambers", but in fact John committed 
the text that is still present in the docs several months earlier,
to both the `?assign` help page (rev 15467, 2001-08-13) and to the 
equalAssign.html document on developer.r-project.org (rev 608, same day).

Duncan Murdoch