Skip to content
Prev 86408 / 398513 Next

combine elements of a character vector into a character

probably you missed the 'collapse' argument of paste(); try this:

paste(x, collapse = "")


Best,
Dimitris

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

Address: Kapucijnenvoer 35, Leuven, Belgium
Tel: +32/(0)16/336899
Fax: +32/(0)16/337015
Web: http://www.med.kuleuven.be/biostat/
     http://www.student.kuleuven.be/~m0390867/dimitris.htm


----- Original Message ----- 
From: "Taka Matzmoto" <sell_mirage_ne at hotmail.com>
To: <r-help at stat.math.ethz.ch>
Sent: Tuesday, February 14, 2006 9:32 AM
Subject: [R] combine elements of a character vector into a character
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm