Re: [R] Concatenating one character vector into one string

2007-10-01 Thread Duncan Murdoch
quot; [5] "The value is 5" "The value is 6" "The value is 7" "The value is 8" [9] "The value is 9" "The value is 10" That's what would break. Duncan Murdoch > > Thanks, > > Roger > > -Original Message

Re: [R] Concatenating one character vector into one string

2007-10-01 Thread michael watson (IAH-C)
,collapse="") -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bos, Roger Sent: 01 October 2007 13:42 To: [EMAIL PROTECTED]; r-help Subject: Re: [R] Concatenating one character vector into one string Rainer, This works: paste(x, sep="", c

Re: [R] Concatenating one character vector into one string

2007-10-01 Thread Rainer M. Krug
lf Of Rainer M. Krug > Sent: 01 October 2007 13:23 > To: r-help > Subject: [R] Concatenating one character vector into one string > > > Hi > > I am sure this is simple - but how can I convert one charecter vector > into one string? > > example: > > x <-

Re: [R] Concatenating one character vector into one string

2007-10-01 Thread Bos, Roger
? Thanks, Roger -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rainer M. Krug Sent: Monday, October 01, 2007 8:23 AM To: r-help Subject: [R] Concatenating one character vector into one string Hi I am sure this is simple - but how can I convert one c

Re: [R] Concatenating one character vector into one string

2007-10-01 Thread jim holtman
> 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 ",

Re: [R] Concatenating one character vector into one string

2007-10-01 Thread Wayne.W.Jones
x <- c("This ", "is ", "one ", "sentence.") paste(x,collapse="") -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Rainer M. Krug Sent: 01 October 2007 13:23 To: r-help Subject: [R] Concatenating one cha

[R] Concatenating one character vector into one string

2007-10-01 Thread Rainer M. Krug
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