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

Latchezar Dimitrov ldimitro at wfubmc.edu
Mon Aug 28 04:00:48 CEST 2006


I love PERL then ... ;-)

Latchezar Dimitrov 

> -----Original Message-----
> From: r-devel-bounces at r-project.org 
> [mailto:r-devel-bounces at r-project.org] On Behalf Of Allen S. Rout
> Sent: Sunday, August 27, 2006 9:45 PM
> To: r-devel at stat.math.ethz.ch
> Subject: Re: [Rd] "+" for character method...
> 
> 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
> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>



More information about the R-devel mailing list