Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

[2f0463]: R / unix / zzz.R.in Maximize Restore History

Download this file

zzz.R.in    15 lines (12 with data), 336 Bytes

.onLoad <- function(lib, pkg)
{
  ## Load the rjags wrapper ...
  library.dynam("rjags", pkg, lib, local=FALSE)

  ## ... and the modules
  moddir <- "@JAGS_MODULES@"
  if (is.null(getOption("jags.moddir"))) {
      options("jags.moddir" = moddir)
  }
  jags.module(c("basemod","bugs"))

  .Call("init_jags_console", PACKAGE="rjags")
}