[R] R Error

Peter Dalgaard p.dalgaard at biostat.ku.dk
Fri Nov 21 09:01:07 CET 2008


Rolf Turner wrote:
> 
> On 21/11/2008, at 10:13 AM, Steffy, Elizabeth A. wrote:
> 
>> I got this error for this equation and i'm not sure what it means or 
>> how to fix it:
>>
>> Error in S[index] = S[index - 1] + (dSi - dSo - SC) * dt :
>>   nothing to replace with
>>
>> Does anyone know how to fix this?
> 
>     No.
> 
>> PLEASE do read the posting guide 
>> http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
> 
>     Do you see the lines immediately above?
> 
>     Many people on the R-help list are very clever.  ***None***
>     of them are telepathic.

No? I think she should ensure that index >= 2, and that her R version is 
from before September 2008.

-- 
    O__  ---- Peter Dalgaard             Øster Farimagsgade 5, Entr.B
   c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
  (*) \(*) -- University of Copenhagen   Denmark      Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)              FAX: (+45) 35327907



More information about the R-help mailing list