[ESS] Lines in coding with ESS

Ronaldo Reis Junior ronaldo.reis at unimontes.br
Mon Feb 8 15:52:31 CET 2010


Sorry,

the problem is the BIOS (Bicho Imbecil Operando o Sistema, in English: Stupid 
ass operating system), my problem.

Thanks and sorry again
Ronaldo

Em Seg 08 Fev 2010, Seb escreveu:
> On Mon, 8 Feb 2010 10:01:32 -0200,
> 
> Ronaldo Reis Junior <ronaldo.reis at unimontes.br> wrote:
> > 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 bug, a rule or a missconfiguration on my linux system?
> 
> Do you have a recipe to reproduce this?  I don't see that problem
> sending the lines to the inferior process, nor typing them directly
> there, in:
> 
> GNU Emacs 23.1.1 (x86_64-pc-linux-gnu, GTK+ Version 2.18.6) of
> 2010-01-27 on brahms, modified by Debian
> 
> and the same packages you list.
> 
-- 
11ª lei - Você deve conhecer mais de sua dissertação do que seu 
          orientador.

      --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.



More information about the ESS-help mailing list