rasmusab/bayesian_first_aid

Any way to turn off the output from activating the library?

Closed this issue · 3 comments

Hi,

First, thanks so much for producing this library, it's great.

I'm using the code and producing an html file via Knitr in RStudio. When I activate the library, using:
library(BayesianFirstAid, warn.conflicts=FALSE, verbose=FALSE, quietly = TRUE)
I get the following output in my html file:

Linked to JAGS 3.4.0

Loaded modules: basemod,bugs

I'm not very familiar with html, I'm sure I could edit that out, but it would be nice to just get it to load silently.

Thanks for any help you can provide.

Steven

Hi,

that message comes from 'rjags'.
You can surpress is like this:

suppressMessages(library(BayesianFirstAid))

taken from here:
http://stackoverflow.com/questions/6279808/r-suppress-startupmessages-from-dependency

Best,

Claas

Hi, that worked, thank you!

Steven


@stevenvannoy
stevenvannoy.wordpress.com

On Jul 22, 2015, at 12:52 PM, Claas Heuer notifications@github.com wrote:

Hi,

that message comes from 'rjags'.
You can surpress is like this:

suppressMessages(library(BayesianFirstAid))

taken from here:
http://stackoverflow.com/questions/6279808/r-suppress-startupmessages-from-dependency http://stackoverflow.com/questions/6279808/r-suppress-startupmessages-from-dependency
Best,

Claas


Reply to this email directly or view it on GitHub #8 (comment).

Thanks cheuerde fo the solution!