Reputation: 3755
I am working on a rmarkdown
presentation. I am trying to show the usage of cast
function. However, since the reshape
package is necessary, to run the cast
function, I need to load reshape library as below.
{r package_options, echo=TRUE}
library(reshape)
cast(datam, isim~Ay, value="Sirano")
However, after knitting the codes, I face with the output ;
I just need to see the name of the library on the screen which is library(reshape)
, and also I want it to be used to run cast
function, but I dont want to see the package outputs as shown in the picture.
Would someone help about that?
Upvotes: 23
Views: 21465
Reputation: 994
If you want to hide all these messages you have to put :
```{r,warning=FALSE,message=FALSE}
library(reshape)
```
Upvotes: 33