Skip to content

Random tips and tricks

Daniel Turek edited this page Aug 23, 2016 · 28 revisions

To see the internal adaptation info from adaptive samplers:

nimbleOptions(buildInterfacesForCompiledNestedNimbleFunctions=TRUE)
Cmcmc$samplerFunctions$contentsList[[i]]$propCov

To build & install developmental version from github:

remove.packages('nimble')
library(devtools)
install_github('nimble-dev/nimble', ref = 'devel', subdir = 'packages/nimble')
library(nimble)

When package building fails around release time, possibly with error ld: library not found for -lgfortran, comment out $(FLIBS) from second line of src/Makevars.in, so that it reads #$(FLIBS)

Clone this wiki locally