我已经安装成功了,但是调用的时候却调用不了:
> library(BRugs)
错误: package or namespace load failed for ‘BRugs’:
loadNamespace()里算'BRugs'时.onLoad失败了,详细内容:
调用: if (!is.na(ob$version)) msg <- paste(msg, "version", ob$version) else msg <- paste(msg,
错误: 参数长度为零
此外: Warning message:
In findOpenBUGS() : OpenBUGS 3.2.2 or greater must be installed
(if so, this indicates missing registry keys of OpenBUGS).
Setting the environment variable 'OpenBUGS_PATH' in advance of loading 'BRugs' overwrites the path.
See ?loadOpenBUGS in order to load OpenBUGS manually.