全部版块 我的主页
论坛 提问 悬赏 求职 新闻 读书 功能一区 经管百科 爱问频道
3046 2
2015-10-30
请教各位老师,我是winbugs的绝对新手,最近一直在学习,但是还是没能领会的很好,我在用文献中的一个例子进行学习的时候,怎么也不能或的结果,R报错如下:
Error in file(con, "wb") : cannot open the connection
In addition: Warning messages:
1: In file.create(to[okay]) :
  cannot create file 'C:/Program Files/WinBUGS14/System/Rsrc/Registry_Rsave.odc', reason 'Permission denied'
2: In file(con, "wb") :
  cannot open file 'C:/Program Files/WinBUGS14/System/Rsrc/Registry.odc': Permission denied
Error in bugs.run(n.burnin, bugs.directory, WINE = WINE, useWINE = useWINE,  :
  Look at the log file and
try again with 'debug=TRUE' to figure out what went wrong within Bugs.
In addition: Warning message:
running command '"C:/Program Files/WinBUGS14/WinBUGS14.exe" /par "C:/Users/yht90h/AppData/Local/Temp/RtmpQlFvRp/script.txt"' had status 1

并且winbugs的log显示:
display(log)
check(C:/Users/yht90h/AppData/Local/Temp/RtmpQlFvRp/SECR0.txt)
model is syntactically correct
data(C:/Users/yht90h/AppData/Local/Temp/RtmpQlFvRp/data.txt)
data loaded
compile(3)
educational version cannot do this model
inits(1,C:/Users/yht90h/AppData/Local/Temp/RtmpQlFvRp/inits1.txt)
command #Bugs:inits cannot be executed (is greyed out)
inits(2,C:/Users/yht90h/AppData/Local/Temp/RtmpQlFvRp/inits2.txt)
command #Bugs:inits cannot be executed (is greyed out)
inits(3,C:/Users/yht90h/AppData/Local/Temp/RtmpQlFvRp/inits3.txt)
command #Bugs:inits cannot be executed (is greyed out)

以及:

DIC
history(*,C:/Users/yht90h/AppData/Local/Temp/RtmpQlFvRp/history.odc)
command #Bugs:history cannot be executed (is greyed out)
save(C:/Users/yht90h/AppData/Local/Temp/RtmpQlFvRp/log.odc)
save(C:/Users/yht90h/AppData/Local/Temp/RtmpQlFvRp/log.txt)

希望各位老师帮忙解答,不胜感激。
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2015-10-30 21:16:27
问题已解决,以管理员身份进入就可以了
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2017-6-23 23:51:55
yht90h 发表于 2015-10-30 21:16
问题已解决,以管理员身份进入就可以了
你好,我初次用R调用winbugs,也出现了你这样的问题,请问你是怎样实现“以管理员身份进入就可以了”(请原谅,计算机小白)。
我是按照这样的操作来实现“以管理员身份进入”的——http://jingyan.baidu.com/article/0bc808fc68f3c11bd485b9b3.html(链接内介绍的方法),但是仍然报同样的错误。
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群