Hello!
I followed the stan installation instruction but i'm having trouble to intall the rstan package in linux:
> install.packages('rstan')
Content type 'application/x-gzip' length 1099610 bytes (1.0 MB)
==================================================
downloaded 1.0 MB
* installing *source* package ârstanâ ...
** package ârstanâ successfully unpacked and MD5 sums checked
** libs
g++ -I/home/marcelo/R-3.3.0/include -DNDEBUG -I"../inst/include" -I"../inst/include/boost_not_in_BH" -I"`"/home/marcelo/R-3.3.0/bin/Rscript" --vanilla -e "cat(system.file('include', 'src', package = 'StanHeaders'))"`" -DBOOST_RESULT_OF_USE_TR1 -DBOOST_NO_DECLTYPE -DBOOST_DISABLE_ASSERTS -I/usr/local/include -I"/mnt/nfs/home/marcelo/R-3.3.0/library/Rcpp/include" -I"/mnt/nfs/home/marcelo/R-3.3.0/library/RcppEigen/include" -I"/mnt/nfs/home/marcelo/R-3.3.0/library/BH/include" -I"/mnt/nfs/home/marcelo/R-3.3.0/library/StanHeaders/include" -fpic -O3 -mtune=native -Wno-unused-variable -Wno-unused-function -flto -ffat-lto-objects -Wno-unused-local-typedefs -c chains.cpp -o chains.o
In file included from /mnt/nfs/home/marcelo/R-3.3.0/library/BH/include/boost/accumulators/framework/accumulator_set.hpp:22:0,
from /mnt/nfs/home/marcelo/R-3.3.0/library/BH/include/boost/accumulators/accumulators.hpp:12,
from chains.cpp:25:
/mnt/nfs/home/marcelo/R-3.3.0/library/BH/include/boost/accumulators/accumulators_fwd.hpp:37:21: error: missing binary operator before token "("
#if BOOST_WORKAROUND(__GNUC__, == 3) \
^
...