Skip to content

Tips for avoiding errors in nimbleFunction programming and compilation (DSL)

Christopher Paciorek edited this page Sep 4, 2018 · 12 revisions

Chapters 11-15 of the NIMBLE manual describe how to program in NIMBLE: how to write nimbleFunctions using the NIMBLE language (NIMBLE DSL).

Writing nimbleFunction run code is similar to programming in R, but because nimbleFunctions are compiled to C++, there are some limitations on what can be done in run code.

Here we document some of the syntax that does NOT work in nimbleFunction run code and work-arounds in each case.

Clone this wiki locally