Hi, I dont know if this a coding rule or a program bug.
When I write this function below it work: a <- c(1,2) for(i in a){ print(i) } [1] 1 [1] 2 But if I write this function with line space it dont work. a <- c(1,2) for(i in a){ print(i) } Error: unexpected '}' in "}" I remember that in early R version this limitation dont exist. This is a bus, a rule or a missconfiguration on my linux system? R version 2.10.1 (2009-12-14) on Debian Unstable Thanks Ronaldo -- 3ª lei - Na investigação e outros assuntos, o seu orientador está sempre certo, na maior parte do tempo. --Herman, I. P. 2007. Following the law. NATURE, Vol 445, p. 228. -- > Prof. Ronaldo Reis Júnior | .''`. UNIMONTES/DBG/Lab. Ecologia Comportamental e Computacional | : :' : Campus Universitário Prof. Darcy Ribeiro, Vila Mauricéia | `. `'` CP: 126, CEP: 39401-089, Montes Claros - MG - Brasil | `- Fone: (38) 3229-8192 | ronaldo.r...@unimontes.br | chrys...@gmail.com | http://www.ppgcb.unimontes.br/lecc | ICQ#: 5692561 | LinuxUser#: 205366 -- Favor NÃO ENVIAR arquivos do Word ou Powerpoint Prefira enviar em PDF, Texto, OpenOffice (ODF), HTML, or RTF. ______________________________________________ R-help@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.