Re: [R] vector help

From: Henrique Dallazuanna <wwwhsd_at_gmail.com>
Date: Mon, 21 Jul 2008 15:53:55 -0300

Try:

paste(test, collapse='-')

On Mon, Jul 21, 2008 at 3:49 PM, Rajasekaramya <ramya.victory_at_gmail.com> wrote:
>
> hi
>
> I have vector test. It has 3 elements. I want to join the three into one
> vector.
> "Geneset=HSA04910_INSULIN_SIGNALING_PATHWAY-157- 20".
> how can i do it.
>
>
>
>> class(test)
> [1] "character"
>> test
> [1] "Geneset=HSA04910_INSULIN_SIGNALING_PATHWAY" "157"
> [3] "20"
>
> Ramya
> --
> View this message in context: http://www.nabble.com/vector-help-tp18575055p18575055.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> 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.
>

-- 
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40" S 49° 16' 22" O

______________________________________________
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 Mon 21 Jul 2008 - 19:02:54 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 Mon 21 Jul 2008 - 19:32:16 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.

list of date sections of archive