0

I'm using sweave and my r chunk uses the package Zelig, which produces a message every time it loads. I've tried everything from message=FALSE, warnings=F, comment=F, as well as suppressMessages(library(Zelig)). Nothing works! any ideas?

David Arenburg
  • 91,361
  • 17
  • 137
  • 196
Cyrus Mohammadian
  • 4,982
  • 6
  • 33
  • 62

1 Answers1

0

Ok so my work around is to load the Zelig library in a separate chunk than the rest of my code and to use results=hide like in the following example:

    TEXT
    <<results=hide, echo=FALSE, cache=FALSE, warning=FALSE, comment=FALSE, warning=FALSE>>=
    library(Zelig) 
    @
    TEXT
    <<>>=
    CODE
    @
Cyrus Mohammadian
  • 4,982
  • 6
  • 33
  • 62