Re: [R] Putting commas in between character strings

2011-06-14 Thread William Dunlap
> -Original Message- > From: r-help-boun...@r-project.org > [mailto:r-help-boun...@r-project.org] On Behalf Of Abraham Mathew > Sent: Tuesday, June 14, 2011 9:36 AM > To: r-help@r-project.org > Subject: [R] Putting commas in between character strings > > I have

[R] Putting commas in between character strings

2011-06-14 Thread Abraham Mathew
I have a number of strings in a vector, and want the output to be seperated by commas. > t [1] "35004" "35005" "35006" "35007" "35010" "35014" "35016" So I want want it to look like: "35004", 35005", "35006", "35007",... Can anyone help? I initially thought strsplit would be the correct funct