Re: [R] change values in a character vector

2011-08-25 Thread Peter Alspach
t; -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of Henri-Paul Indiogine > Sent: Friday, 26 August 2011 10:36 a.m. > To: r-help@r-project.org > Subject: [R] change values in a character vector > > Greetings

[R] change values in a character vector

2011-08-25 Thread Henri-Paul Indiogine
Greetings! I have a 127 long vector with all different character entries.I need to generate another vector that is 6 times a long and the second one and has the following structure: NA "foo" "a unique string" NA "bar" "blah" NA "foo" "another unique string" NA "bar" "blah" . This has to