Em Sex 11 Nov 2005 13:34, Peter Dalgaard escreveu:
>
> Look at
>
>   xcoord[indice] <- xcoord+i
>
> The left hand side is a single element, the right hand side is a
> vector so I don't think it means what I think you think it means.

I'm stupid, of course. The correct is:

> xcoord[indice] <- xcoord[indice-1]+i
> ycoord[indice] <- ycoord[indice-1]

This error is the segfault.

Thanks
Ronaldo

-- 
So so is good, very good, very excellent good:
and yet it is not; it is but so so.
                -- William Shakespeare, "As You Like It"
--
|>   // | \\   [***********************************]
|   ( õ   õ )  [Ronaldo Reis Júnior                ]
|>      V      [UFV/DBA-Entomologia                ]
|    /     \   [36570-000 Viçosa - MG              ]
|>  /(.''`.)\  [Fone: 31-3899-4007                 ]
|  /(: :'  :)\ [EMAIL PROTECTED]            ]
|>/ (`. `'` ) \[ICQ#: 5692561 | LinuxUser#: 205366 ]
|    ( `-  )   [***********************************]
|>>  _/   \_Powered by GNU/Debian Woody/Sarge

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to