On Thu, Jul 12, 2012 at 05:22:45AM -0700, purushothaman wrote:
> hi,
> 
> sorry it's not 2 different list all item in same list like this
> 
> a[1]="abc"
> a[2]="def"
> ...
> output ="abc def ..."

Hi.

Try this

  a <- list("abc", "def", "ghi")
  paste(a, collapse=" ")

  [1] "abc def ghi"

Hope this helps.

Petr Savicky.

______________________________________________
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.

Reply via email to