Skip to content
forked from ihrke/pyjags-rpy

ugly, hacky python-interface to jags using rjags via rpy2

Notifications You must be signed in to change notification settings

ctguxp/pyjags-rpy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyjags

WARNING: This is not the same project as @tmiasko's pyjags which uses JAGS directly instead of going through R. I guess this repo is superseded by @tmiasko's pyjags (though I haven't tested it yet).

Ugly ass hell wrapper to access JAGS from python. It uses rpy to access JAGS via R (did I mention how ugly this is?).

WARNING: No protection whatsoever! It happily passes variables back and forth between R and python without checking for overwriting them etc.

  • Don't attempt to use multiple models in the same program (simultaneously, one after the other is ok)
  • the code will mess with rpy2's R instance, i.e., if you run R-magics, the environment is changed by this code

Requirements:

  • JAGS
  • R
  • rjags (R package)
  • rpy2 (python package)
  • ipython (python package)

install

(not really recommended)

pip install git+git://github.com/ihrke/pyjags@master

About

ugly, hacky python-interface to jags using rjags via rpy2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 43.8%
  • Python 34.0%
  • R 22.2%