[R-sig-ME] MCMCglmm for binomial models? -- updated to use rcppbugs

Paul Johnson pauljohn32 at gmail.com
Tue May 1 02:37:38 CEST 2012


> I know this is an old thread, but since I've just posted the first
> version of rcppbugs on CRAN, I thought I'd see if I could convert this
> model.

> This model is implemented in pure R (no c++ required).  The source
> code is posted below.


Hi, Whit:

I don't have the thread going back to the ancient times (:)), so I
can't tell what the point of this might be.  I wonder "what the hell
is he talking about?" and "why would I want a package called rcppbugs
if the project he describes doesn't have any C++ in it?"

I tried to install rcppbugs on Debian, but ended in failure,  so
obviously I'm missing some devel headers*.  While I track back to find
out WTF on that, how about you post an explanation of why rcppbugs is
worth the effort in the first place?


[*]
* DONE (RcppArmadillo)
* installing *source* package ‘rcppbugs’ ...
** package ‘rcppbugs’ successfully unpacked and MD5 sums checked
** libs
g++ -I/usr/share/R/include -DNDEBUG
-I"/home/pauljohn/R/x86_64-pc-linux-gnu-library/2.15/Rcpp/include"
-I"/home/pauljohn/R/x86_64-pc-linux-gnu-library/2.15/RcppArmadillo/include"
 -I./cppbugs -fpic  -O3 -pipe  -g  -c helpers.cpp -o helpers.o
g++ -I/usr/share/R/include -DNDEBUG
-I"/home/pauljohn/R/x86_64-pc-linux-gnu-library/2.15/Rcpp/include"
-I"/home/pauljohn/R/x86_64-pc-linux-gnu-library/2.15/RcppArmadillo/include"
 -I./cppbugs -fpic  -O3 -pipe  -g  -c interface.cpp -o interface.o
In file included from ./cppbugs/cppbugs/mcmc.dynamic.stochastic.hpp:25:0,
                 from ./cppbugs/cppbugs/mcmc.normal.hpp:22,
                 from interface.cpp:24:
./cppbugs/cppbugs/mcmc.math.hpp:23:50: fatal error:
boost/math/special_functions/gamma.hpp: No such file or directory
compilation terminated.
make: *** [interface.o] Error 1
ERROR: compilation failed for package ‘rcppbugs’

-- 
Paul E. Johnson
Professor, Political Science    Assoc. Director
1541 Lilac Lane, Room 504     Center for Research Methods
University of Kansas               University of Kansas
http://pj.freefaculty.org            http://quant.ku.edu



More information about the R-sig-mixed-models mailing list