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
,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
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 <-
?
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
> 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 ",
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
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
7 matches
Mail list logo