Below the code for generating a histogram plot with the base plot system in R and converting this via Rmarkdown to a pdf (Latex). I set message=FALSE, warning=FALSE, error=FALSE etc, but still get output from the system. How can I just show the plot??
---
title: "Test"
author: "Me"
date: "Tuesday, September 30, 2014"
output: pdf_document
---
```{r,message=FALSE,warning=FALSE,cache.comments=FALSE,error=FALSE,prompt=FALSE}
par(mfrow=c(2,2))
replicate(4,hist(replicate(1000,mean(rnorm(10000,1,10))),col="slateblue4",
main="Distribution of the Mean",col.main="steelblue4",
xlab="Mean",ylab="Count"))
```