[R] error in using R2WinBUGS on Ubuntu 6.10 Linux
Thomas Harte
thomas.harte at yahoo.com
Fri Jul 27 22:44:40 CEST 2007
what version of Wine are you running? and is this the patched (1.4.1) version of
WinBUGS that you're trying to run?
cheers,
thomas.
> Date: Thu, 26 Jul 2007 12:03:38 -0400 (EDT)
> From: <meyerjp at jmu.edu>
> Subject: [R] error in using R2WinBUGS on Ubuntu 6.10 Linux
> To: r-help at stat.math.ethz.ch
> Message-ID: <20070726120338.AUQ96591 at mpmail1.jmu.edu>
> Content-Type: text/plain; charset=us-ascii
> I am trying to run WinBUGS 1.4 from the Ubuntu 6.10 Linux distribution. I am using the
> R2WinBUGS packages with the source file listed below. WinBUGS appears to run
properly, but
> I get the following message after WinBUGS starts in WINE. Does anyone know what may
be
> causing this error and what the correction may be?
> Thanks
> ERROR MESSAGE:
> fixme:ole:GetHGlobalFromILockBytes cbSize is 13824
> err:ole:CoGetClassObject class {0003000a-0000-0000-c000-000000000046} not registered
> err:ole:CoGetClassObject class {0003000a-0000-0000-c000-000000000046} not registered
> err:ole:CoGetClassObject no class object {0003000a-0000-0000-c000-000000000046} could
be
> created for context 0x3
> fixme:keyboard:RegisterHotKey (0x10032,13,0x00000002,3): stub
> fixme:ntdll:RtlNtStatusToDosErrorNoTeb no mapping for 8000000a
> err:ole:local_server_thread Failure during ConnectNamedPipe 317
> R SOURCE FILE:
> rm(list=ls(all=TRUE))
> library(R2WinBUGS)
> inits<-function(){
> list(alpha0 = 0, alpha1 = 0, alpha2 = 0, alpha12 = 0, sigma = 1)
> }
> data<-list(r = c(10, 23, 23, 26, 17, 5, 53, 55, 32, 46, 10, 8, 10, 8, 23, 0, 3,
22,
> 15, 32, 3),
> n = c(39, 62, 81, 51, 39, 6, 74, 72, 51, 79, 13, 16, 30, 28, 45, 4, 12, 41, 30, 51,
7),
> x1 = c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1,
> 1, 1, 1),
> x2 = c(0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 1, 1,
> 1, 1, 1),
> N = 21)
> test<-bugs(data,inits,
> model.file="/home/meyerjp/rasch/test.bug",
> parameters=c("alpha0","alpha1","alpha12","alpha2","sigma"),
> n.chains=2,n.iter=10000,n.burnin=1000,
> bugs.directory="/home/meyerjp/.wine/drive_c/Program Files/WinBUGS14/",
> working.directory="/home/meyerjp/rasch/working",
> debug=FALSE,
> WINEPATH="/usr/bin/winepath",
> newWINE=TRUE)
More information about the R-help
mailing list