I'm using Wine 0.9.41, and the patched version of WinBUGS. Everything 
seems to run correctly. I get the right output from WinBUGS. I'm not 
sure to what the error message refers.

Thanks,
Patrick

Thomas Harte wrote:

>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@jmu.edu>
>> Subject: [R] error in using R2WinBUGS on Ubuntu 6.10 Linux
>> To: r-help@stat.math.ethz.ch
>> Message-ID: <20070726120338.AUQ96591@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)
>>    
>>

-- 

J. Patrick Meyer, Ph.D.
Center for Assessment and Research Studies
James Madison University
MSC 6806
821 South Main Street
Harrisonburg, VA 22807
http://www.jmu.edu/assessment/
Phone: (540) 568-3292
Fax: (540) 568-7878


	[[alternative HTML version deleted]]

