8schools error Boost not found

Greetings,

I am getting started with RStan and I get the following error while running the basic example 8schools.stan:

Error in stan_model(file, model_name = model_name, model_code = model_code, :
Boost not found; call install.packages(‘BH’)

BH (1.65) is installed and loaded. However I came across this other post and wonder if it could be related.

rstan compilation error under Boost 1.64 #441

Any help will be greatly appreciated,
Cheers!

Here is my session info:

sessionInfo()
R version 3.3.1 (2016-06-21)
Platform: i386-w64-mingw32/i386 (32-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1

locale:
[1] LC_COLLATE=English_United States.1252
[2] LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252
[4] LC_NUMERIC=C
[5] LC_TIME=English_United States.1252

attached base packages:
[1] stats graphics grDevices utils datasets methods base

other attached packages:
[1] BH_1.65.0-1 rstan_2.16.2 StanHeaders_2.16.0-1
[4] ggplot2_2.2.1

loaded via a namespace (and not attached):
[1] Rcpp_0.12.7 assertthat_0.1 grid_3.3.1 plyr_1.8.4
[5] gtable_0.2.0 stats4_3.3.1 scales_0.4.1 lazyeval_0.2.0
[9] tools_3.3.1 munsell_0.4.3 inline_0.3.14 colorspace_1.3-0
[13] gridExtra_2.2.1 tibble_1.2

1 Like

Never mind, an additionnal R relaunch did the trick. Sorry for the bother…

4 Likes

Thanks for reporting back with a solution.