Re: [Rd] is there String concating function in R?

From: Dimitris Rizopoulos <dimitris.rizopoulos_at_med.kuleuven.ac.be>
Date: Tue 11 Jan 2005 - 02:56:52 EST

Hi Saurin,

Firstly you should post this question to R-help and not in R-devel since the purpose of the latter is different.

Regarding your question take a look at ?paste

paste(A, B, sep="")

Best,
Dimitris



Dimitris Rizopoulos
Ph.D. Student
Biostatistical Centre
School of Public Health
Catholic University of Leuven

Address: Kapucijnenvoer 35, Leuven, Belgium

Tel: +32/16/336899
Fax: +32/16/337015
Web: http://www.med.kuleuven.ac.be/biostat
     http://www.student.kuleuven.ac.be/~m0390867/dimitris.htm


> Hi All,
>
> I prob. missed it but I would like to make string
> concating. Is there any string concating function in
> R?
>
> A <- "abc";
> B <- ".jpeg"
>
> C <- c(A,B);
> it does not do abc.jpeg in string format..?
>
> can anyone guide me ?
>
>
> Thank you,
> Saurin
>
> ______________________________________________
> R-devel@stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>



R-devel@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Tue Jan 11 02:02:39 2005

This archive was generated by hypermail 2.1.8 : Tue 11 Jan 2005 - 02:23:10 EST