[Rd] "+" for character method...

Allen S. Rout asr at ufl.edu
Mon Aug 28 03:44:32 CEST 2006


Duncan Murdoch <murdoch at stats.uwo.ca> writes:

> According to Wikipedia, the "+" operator is used for concatenation in 
> BASIC, Pascal, Delphi, Javascript, Java, Python, C++ and Ruby.  These 
> are probably the most commonly used modern languages other than C (which 
> has no concatenation operator) or Fortran (which I just discovered today 
> uses "//").

PERL ( "." is concatenation ) would come just behind C and maybe Java
in that list.  However, that doesn't materially damage 

> So it seems to me that defining addition of strings to be
> concatenation is a reasonably widespread convention.



- Allen S. Rout



More information about the R-devel mailing list