Print

Print


I, too, have had this problem, and others have reported it on this list. I solved the problem
by putting the model, the data, and the inits all in the same odc file. Supposedly this is not
necessary, but it works.

Nkululeko Gumedze wrote:

> Dear BUGS users,
>
> I'm trying to run the surgical example by reading the
> both the data & initial values from text files.
> The model sysntax appears to be okay but the data read
> & model compile option give the following error
> messages(respectively):
>
> Expected variable name
> Variable not defined or not data for N
>
> I can read the data explicitly but I want to read the
> both data & inital values from text files.
>
> How should I proceed? Please help, I'm desperate.
> The data and initial values files are attached.
>
> regards,
> Nkhululeko.
>
> __________________________________________________
> Do You Yahoo!?
> Get Yahoo! Mail - Free email you can access from anywhere!
> http://mail.yahoo.com/
>
>   --------------------------------------------------------------------------------
>                       Name: surgical.odc
>    surgical.odc       Type: application/x-unknown
>                   Encoding: base64
>                Description: surgical.odc
>
>   --------------------------------------------------------------------------------
> 47      1.00000 0       1
> 48      0.72727 18      2
> 119     0.93701 8       3
> 810     0.94626 46      4
> 211     0.96347 8       5
> 196     0.93780 13      6
> 148     0.94268 9       7
> 215     0.87398 31      8
> 207     0.93665 14      9
> 97      0.92381 8       10
> 256     0.89825 29      11
> 360     0.93750 24      12
>
>   --------------------------------------------------------------------------------
> 0.1,    0.1,    0.1,    0.1,    0.1,    0.1,    0.1,    0.1,    0.1,    0.1,    0.1,    0.1,
> tau=1, mu=0

--
*************************************************************
Raymond N. Greenwell           [log in to unmask]
Professor of Mathematics       http://www.hofstra.edu/~matrng
103 Hofstra University         (516) 463-5573
Hempstead, NY 11550-1090





%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%