> x <- c("This ", "is ", "one ", "sentence.") > paste(x, collapse='') [1] "This is one sentence."
On 10/1/07, Rainer M. Krug <[EMAIL PROTECTED]> wrote: > Hi > > I am sure this is simple - but how can I convert one charecter vector > into one string? > > example: > > x <- c("This ", "is ", "one ", "sentence.") > > should become > "This is one entence" > > Thanks > > Rainer > > -- > NEW EMAIL ADDRESS AND ADDRESS: > > [EMAIL PROTECTED] > > [EMAIL PROTECTED] WILL BE DISCONTINUED END OF MARCH > > Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation > Biology (UCT) > > Plant Conservation Unit > Department of Botany > University of Cape Town > Rondebosch 7701 > South Africa > > Tel: +27 - (0)21 650 5776 (w) > Fax: +27 - (0)86 516 2782 > Fax: +27 - (0)21 650 2440 (w) > Cell: +27 - (0)83 9479 042 > > Skype: RMkrug > > email: [EMAIL PROTECTED] > [EMAIL PROTECTED] > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. > -- Jim Holtman Cincinnati, OH +1 513 646 9390 What is the problem you are trying to solve? ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.