import(

	parallel,
	lattice,
	coda
	
)

export(

autoextend.jags,
autoextend.JAGS,

run.jags,
autorun.jags,

run.jags.study,
run.JAGS.study,
drop.k,
drop.k.jags,
drop.k.JAGS,

run.JAGS,
autorun.JAGS,
results.jags,
results.JAGS,
cleanup.jags,
cleanup.JAGS,

combine.mcmc,
combine.MCMC,
combine.jags,
combine.JAGS,
divide.jags,
divide.JAGS,

failed.jags,
failed.JAGS,
failedjags,   # deprecated - to be removed

contrasts.mcmc,
contrasts.MCMC,
prec2sd,

dump.format,
list.format,

extend.jags,
extend.JAGS,

read.winbugs,
read.WinBUGS,
read.jagsfile,
read.JAGSfile,
write.jagsfile,
write.JAGSfile,
template.jags,
template.JAGS,

extract.runjags,
extract,

as.jags,
as.runjags,
is.runjags,
add.summary,

ask,
findjags,
new_unique,
timestring,
testjags,
findJAGS,
testJAGS,
load.runjagsmodule,
load.runJAGSmodule,
unload.runjagsmodule,
unload.runJAGSmodule,

xgrid.run.jags,
xgrid.autorun.jags,
xgrid.extend.jags,
xgrid.autoextend.jags,
xgrid.submit.jags,
xgrid.run.jagsfile,
xgrid.autorun.jagsfile,
xgrid.submit.jagsfile,
xgrid.results.jags,
xgrid.run.JAGS,
xgrid.autorun.JAGS,
xgrid.extend.JAGS,
xgrid.autoextend.JAGS,
xgrid.submit.JAGS,
xgrid.run.JAGSfile,
xgrid.autorun.JAGSfile,
xgrid.submit.JAGSfile,
xgrid.results.JAGS,

xgrid.run,
xgrid.submit,
xgrid.results,
xapply,

xgrid.jobs,
xgrid.delete,

runjags.options,
runjags.getOption

)

S3method(print, runjags)
S3method(summary, runjags)

S3method(print, runjagsmodel)
S3method(print, runjagsdata)
S3method(print, runjagsinits)
S3method(print, runjagsoutput)
S3method(print, rjagsoutput)
S3method(print, mcsestats)
S3method(print, crosscorrstats)
S3method(print, gelmanwithtarget)
S3method(print, dicstats)
S3method(print, runjagsstudy)
S3method(summary, runjagsstudy)
S3method(plot, runjagsstudy)
S3method(print, runjagsbginfo)

S3method(as.mcmc, runjags)
S3method(as.mcmc.list, runjags)
S3method(fitted, runjags)
S3method(residuals, runjags)

S3method(as.runjags, default)
S3method(as.jags, default)
S3method(as.runjags, jags)
S3method(as.jags, runjags)

S3method(extract, runjags)
S3method(fitted, runjags)
S3method(residuals, runjags)

S3method(plot, runjags)
S3method(plot, runjagsplots)
S3method(print, runjagsplots)

S3method(print, failedjags)
