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.reis at unimontes.br | chrysopa at
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.