Sorry for continuing to reply to myself. I believe that my problem was
putting a factor ("plot") in my data for the bugs(data,...) call. I still
have stuff to work out in the code but I don't get the error if I exclude
plot from the win.data <- list(...) assignment. I have to think if that will
now
Sorry for the additional post - I received the suggestion to include the
following additional information:
*> traceback()*
5: FUN(X[[12L]], ...)
4: lapply(data, formatC, digits = digits, format = "E")
3: write.datafile(lapply(data, formatC, digits = digits, format = "E"),
file.path(dir, da
I have successfully used R2WinBUGS in the past and an trying to use basically
the same code with some different data but I'm getting the following error:
> out <- bugs(data=win.data, inits=inits, parameters.to.save=params,
> model.file = "PoissonGLMM.txt", n.chains=nc, n.iter=ni, n.burn=nb,
> n.th
I have successfully used R2WinBUGS in the past and an trying to use basically
the same code with some different data but I'm getting the following error:
> out <- bugs(data=win.data, inits=inits, parameters.to.save=params,
> model.file = "PoissonGLMM.txt", n.chains=nc, n.iter=ni, n.burn=nb,
> n.th
If the exactly same code runs on one machine and not on another where R
version, script, model file, inits, data etc. are all identical, then I
suspect you have different versions of R2WinBUGS installed.
Please check is really all files and all version numbers are the same.
If you still have
I'm having difficulty running R2WinBugs on a setup that previously
worked for me (Dell Laptop, Windows XP service pack 3, R 2.11.1, WinBugs
1.43) . When I issue the following command
smds.sim <- bugs (data, inits, parameters, "SMDSbrandLoc2.bug",
debug = T,
n.thin = n.thin,
n.chains = n.
Dear Troels,
it is possible to start without inits if the problem to solve is
appropriate, here is the changed "schools" example from the help page:
model.file <- system.file(package="R2WinBUGS", "model", "schools.txt")
data(schools)
J <- nrow(schools)
y <- schools$estimate
sigma.y <- schools
Dear friends - I'm on winXP, R 2.71 - I have with some help dveloped
this multivariate normal model, which gives very plausible results in
WinBUGS even without any
initial values specified. However, when I then try to run the same model
via the bugs function in R2WinBUGS with inits specified as
Dear friends - I'm on winXP, R 2.71 - I have with some help dveloped
this multivariate normal model, which gives very plausible results in
WinBUGS even without any
initial values specified. However, when I then try to run the same model
via the bugs function in R2WinBUGS with inits specified as
Sam_zhz wrote:
>
> Just while I use R2Winbugs, the following error will be presented. Please
> tell me how to cope with.
> Error in file(file, "r") : unable to open connection
> In addition: Warning message:
> cannot open file 'codaIndex.txt', reason 'No such file or directory' in:
> file(file,
Just while I use R2Winbugs, the following error will be presented. Please
tell me how to cope with.
Error in file(file, "r") : unable to open connection
In addition: Warning message:
cannot open file 'codaIndex.txt', reason 'No such file or directory' in:
file(file, "r")
Thanks
Sam_zhz
--
View t
Just while I use R2Winbugs, the following error will be presented. Please
tell me how to cope with.
Error in file(file, "r") : unable to open connection
In addition: Warning message:
cannot open file 'codaIndex.txt', reason 'No such file or directory' in:
file(file, "r")
Thanks
Sam_zhz
--
View t
Just while I use R2Winbugs, the following error will be presented. Please
tell me how to cope with.
Error in file(file, "r") : unable to open connection
In addition: Warning message:
cannot open file 'codaIndex.txt', reason 'No such file or directory' in:
file(file, "r")
Thanks
Sam_zhz
--
View t
Just while I use R2Winbugs, the following error will be presented. Please
tell me how to cope with.
Error in file(file, "r") : unable to open connection
In addition: Warning message:
cannot open file 'codaIndex.txt', reason 'No such file or directory' in:
file(file, "r")
Thanks
Sam_zhz
--
View t
Just while I use R2Winbugs, the following error will be presented. Please
tell me how to cope with.
Error in file(file, "r") : unable to open connection
In addition: Warning message:
cannot open file 'codaIndex.txt', reason 'No such file or directory' in:
file(file, "r")
Thanks
Sam_zhz
--
View t
Just while I use R2Winbugs, the following error will be presented. Please
tell me how to cope with.
Error in file(file, "r") : unable to open connection
In addition: Warning message:
cannot open file 'codaIndex.txt', reason 'No such file or directory' in:
file(file, "r")
--
View this message in
Just while I use R2Winbugs, the following error will be presented. Please
tell me how to cope with.
Error in file(file, "r") : unable to open connection
In addition: Warning message:
cannot open file 'codaIndex.txt', reason 'No such file or directory' in:
file(file, "r")
Thanks
Sam_zhz
--
View t
17 matches
Mail list logo