[R] modifying a vector

Bill.Venables@cmis.csiro.au Bill.Venables at cmis.csiro.au
Sun Jun 30 14:14:55 CEST 2002


Peter Dalgaard notes:

> > Note that "_" is assignment in S (and hence R, sigh...).  
> 
> Soon to be deprecated, though... (but it will probably take a while
> before we can reintroduce it as part of variable names).
> 
	[WNV]   Indeed it may, so much so that I am surprised such a change
is even on the agenda.  We may agree that using "_" a the assignment
operator can make code difficult to read, but many people do use it, and
often with some enthusiasm.  It looks a bit to me like unscrambling the egg.
Let me be clear about this: I really do dislike the thing and I'm not about
to argue that it should be left untouched.   I'm just very surprised there
isn't an enormous howl of protest already...

	Are we also about to allow spaces in names and the "=" sign as yet
another alternative form of the left assignment operator, as in S4?  Should
be even more interesting.

	Bill Venables.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list