# Set one option:
nimbleOptions(verifyConjugatePosteriors = FALSE)
# Compactly print all options:
str(nimbleOptions(), max.level = 1)
# Save-and-restore options:
old <- nimbleOptions() # Saves old options.
nimbleOptions(showCompilerOutput = TRUE,
verboseErrors = TRUE) # Sets temporary options.
# ...do stuff...
nimbleOptions(old) # Restores old options.
Run the code above in your browser using DataLab