Re: [R] Problems with code containing a for loop

2009-10-09 Thread xavier . chardon
A parenthesis is missing. You can figure that out easily watching the first error. text(0.5,0.5, text = paste(letters[i], "+", numbers[j],"=", letters [i+j+k])) Xavier - Mail Original - De: "Antje##" À: r-help@r-project.org Envoyé: Vendredi 9 Octobre 2009 17h36:34 GMT +01:00 Amsterdam

Re: [R] Problems with code containing a for loop

2009-10-09 Thread Erik Iverson
Because you missed your closing parens in the "text" function call. The closing parens is closing the "paste" function, you need one more. I don't know what you're trying to do here, but I am guessing there's a faster way? > -Original Message- > From: r-help-boun...@r-project.org [mai