findjags(runjags)
findjags()所属R语言包:runjags
Attempt to Locate a JAGS Install
试图找到一个JAGS安装
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Search the most likely locations for JAGS to be installed on the users system, based on the operating system, and return the most likely path to try. Where multiple installs exist, findjags will attempt to return the path to the install with the highest version number. For Unix systems, calling jags using 'jags' requires the jags binary to be in the search path, which may be specified in your user '.Profile' if necessary (the JAGS executable is also looked for in the default install location of /usr/local/bin/jags if popen support is enabled).
搜索要安装在用户系统上,操作系统的基础上,并返回的最可能的路径,尝试JAGS的最有可能的位置。如果存在多个安装,findjags尝试安装的最高版本号返回的路径。对于Unix系统的锯齿,呼叫使用“锯齿”需要的锯齿二进制文件,这可能是在你的用户指定的搜索路径。个人资料“,如果有必要(JAGS可执行文件也在为在默认安装位置/ usr / local / bin目录/锯齿,如果POPEN支持的使能)。
用法----------Usage----------
findjags(ostype = .Platform$OS.type,
参数----------Arguments----------
参数:ostype
the operating system type. There is probably no reason to want to change this...
操作系统的类型。有可能是没有理由要改变这种...
参数:look_in
for Windows only, the path to a folder (or vector of folders) which contains another folder with name containing 'JAGS', where the JAGS executable(s) are to be found. findjags() will attempt to find the highest version, assuming that the version number is somewhere in the file path to the executable (as per default installation).
仅适用于Windows,路径到一个文件夹的文件夹(或矢量),其中包含另一个文件夹名称中包含“JAGS”,其中JAGS可执行文件(S)被发现。 findjags()将尝试找到的最高版本,如果版本号是在某处的文件路径的可执行文件(按默认安装)。
值----------Value----------
A path or command for the most likely location of the desired JAGS executable on the system. On unix this will always be 'jags', on Windows for example "C:/Program Files/JAGS/bin/jags-terminal.exe" or "C:/Program Files/JAGS/JAGS-1.0.0/bin/jags-terminal.exe"
最有可能的位置的系统上所需的JAGS可执行文件的路径或命令。在Unix上,这将始终是在Windows的“锯齿”,例如“C :/ Program Files文件/ JAGS / BIN /锯齿,terminal.exe”或“C :/程序Files/JAGS/JAGS-1.0.0/bin/jags的-terminal.exe“
(作者)----------Author(s)----------
Matthew Denwood <a href="mailto:matthew.denwood@glasgow.ac.uk">matthew.denwood@glasgow.ac.uk</a>
参见----------See Also----------
testjags,
testjags,
run.jags
run.jags
实例----------Examples----------
findjags()
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|