If you found that this software is useful in your work, please do not hesitate to cite the software or the papers below.
Because I read the whole Markov chain of 'betas' as needed in prediction into memory as a single static array, it may exceed the stack limit of your system, resulting error "C stack overflow". In unix or linux system, a quick way to solve this problem is to relax the stack limit before starting R, by issuing the following command in terminal:
ulimit -s unlimited
Download the add-on R package, say mypkg, and type the following command in Unix console to install it to /my/own/R-packages/:
$ R CMD INSTALL mypkg -l /my/own/R-packages/
Type the following command in R console to install it to /my/own/R-packages/ directly from CRAN:
> install.packages("mypkg", lib="/my/own/R-packages/")
> library("mypkg", lib.loc="/my/own/R-packages/")