[R] collapsing a list in a var.

From: Milton Cezar Ribeiro <milton_ruser_at_yahoo.com.br>
Date: Thu, 20 Dec 2007 14:15:01 -0800 (PST)

Dear all,

I have a object like my.obj<-c("a1","a2","a3") and I would like my.new.obj="a1 a2 a3". I tryed to do my.new.obj<-paste(my.obj,sep=" ") but it return three entries and I need only one entry as result.

Any idea?


 para armazenamento!

        [[alternative HTML version deleted]]

R-help_at_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. Received on Thu 20 Dec 2007 - 22:18:17 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 20 Dec 2007 - 23:30:20 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.