Re: [R] Generate combination of strings

2012-04-13 Thread Bart6114
Great! Works like a charm! Thanks Petr!! On Fri, Apr 13, 2012 at 9:03 AM, Petr Savicky [via R] < ml-node+s789695n4554013...@n4.nabble.com> wrote: > On Thu, Apr 12, 2012 at 01:14:27PM -0700, Bart6114 wrote: > > > Hey all, > > > > I am trying to generate a number of vectors with string combination

Re: [R] Generate combination of strings

2012-04-13 Thread Petr Savicky
On Thu, Apr 12, 2012 at 01:14:27PM -0700, Bart6114 wrote: > Hey all, > > I am trying to generate a number of vectors with string combinations. The > below code solves my initial problem, however I would prefer not hardcoding > the positions of the 'objects' as in the future the number of 'objects'

[R] Generate combination of strings

2012-04-12 Thread Bart6114
Hey all, I am trying to generate a number of vectors with string combinations. The below code solves my initial problem, however I would prefer not hardcoding the positions of the 'objects' as in the future the number of 'objects' could increase. Is there a way to loop over these objects and gener