I am having not a little difficulty in using R-CODA version 0.4 with R-Windows 0.64.2. Basically I want to produce some postscript plots from the updates. It seems the WinBugs output is OK for cut-and-paste operations but don't allow much flexibility for anything else. So far, I can produce the .ind and .out files from WinBugs 1.2 and these seem OK (in particular they are text files not .odc files). I can read them in with a standard read.table() R command but that doesn't avail me of the CODA facilities. When I enter the file names (either as full names with directory or the simple filename in the default directory) I come up with a message: Error: names attribute must be the same length as the vector and CODA bombs out. (Incidentally the Windows version requires codamenu() to start, not CODA()). Is there some trick here? John PS apologies for cross-posting! -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On 04-Aug-99 John Logsdon wrote:> When I enter the file names (either as full names with directory or the > simple filename in the default directory) I come up with a message: > > Error: names attribute must be the same length as the vector > > and CODA bombs out. (Incidentally the Windows version requires codamenu() > to start, not CODA()).The R version uses codamenu() on both Unix and Windows.> Is there some trick here?No, it's a bug. You can work around this by just putting the root of the filenames in without the extension, e.g. put "line" instead of both "line.ind" and "line.out". An updated version is on it's way to CRAN. Martyn -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._