[tech-spec] Re: Nested Loops

  • From: BBands <BBands@xxxxxxxxxxxxxxxxxx>
  • To: 'tech-spec' <tech-spec@xxxxxxxxxxxxx>
  • Date: Fri, 12 Nov 2004 11:43:06 -0800

Is this what you are after?

for(i in 1:3) {
    for(j in 2:4) {
        print(i*j)
        }
    }

    --jab

Other related posts: