Print

Print


Dear WinBUGS users,

I always used S-Plus 2000 to create WinBUGS input data and initial values
files using the "dput()" function. For example,

>       dput(list(Y=seq(1,10), X=matrix(seq(1,9), 3,3)), file="c:/temp/try2.q")

This would result in a file shown below:

list(Y=c(1, 2, 3, 4, 5, 6, 7, 8, 9, 10),
        X=structure(.Data = c(1, 2, 3, 4, 5, 6, 7, 8, 9), .Dim = c(3, 3)))

However, if I do the same under S-Plus 6 for Windows, the resulting input
data file is:

list(Y=c(1, 2, 3, 4, 5, 6, 7, 8, 9, 10),
        X=matrix(c(1, 2, 3, 4, 5, 6, 7, 8, 9), nrow = 3, ncol = 3))

and WinBUGS won't take it.  Is there an alternative other than returning to
S-Plus 2000?

Thanks in advance.

Song Qian

-------------------------------------------------------------------
This list is for discussion of modelling issues and the BUGS software.
For help with crashes and error messages, first mail [log in to unmask]

To mail the BUGS list, mail to [log in to unmask]
Before mailing, please check the archive at www.jiscmail.ac.uk/lists/bugs.html
Please do not mail attachments to the list.

To leave the BUGS list, send LEAVE BUGS to [log in to unmask]
If this fails, mail [log in to unmask], NOT the whole list