runjags (version 0.9.0-4)

findjags: Attempt to Locate a JAGS Install

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.

Usage

findjags(ostype = .Platform$OS.type)

Arguments

ostype
the operating system type. There is probably no reason to want to change this...

Value

  • A path or command for the most likely location of JAGS 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"

See Also

testjags run.jags

Examples

Run this code
findjags()

Run the code above in your browser using DataLab