Skip to content
Back to formatted view

Raw Message

Message-ID: <BAY110-F38C9566CD659E9E5495A76C7060@phx.gbl>
Date: 2006-02-14T08:32:50Z
From: Taka Matzmoto
Subject: combine elements of a character vector into a character

Hi R users

I have a simple question to ask

x <- c("a","b","c")
x
[1] "a" "b" "c"

I like to have "abc" instead of having "a" "b" "c"

I tried to use paste and other functions related to character.

Is there any function (command) that enable me to combine elements of a 
character vector into one character ?

Thanks