[R] Help with concatenation and arrays

Andrew Perrin clists at perrin.socsci.unc.edu
Wed Jun 26 19:32:04 CEST 2002


On Wed, 26 Jun 2002 VBMorozov at lbl.gov wrote:

> Dear R-guRus:
> I have 2 questions
> 
> 1) I have 2 variables, e.g. x<-5; y<-"Char"
> How do I create a new variable which would have both these values in a 
> string (e.g. "5Char", or "5 Char", etc ) ??

cat(x,y)


----------------------------------------------------------------------
Andrew J Perrin - http://www.unc.edu/~aperrin
Assistant Professor of Sociology, U of North Carolina, Chapel Hill
clists at perrin.socsci.unc.edu * andrew_perrin (at) unc.edu




-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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