How to disable message null device when using R and latex.
<<echo=FALSE ,results=tex>>=
data<-read.table("test",sep="\t",header=TRUE,check.names=FALSE)
names(data)<-substr(names(data),1,20)
pdf("image.pdf")
par(las=2)
par(mar=c(2,12,2,2))
barplot(as.matrix(disease_data),beside=TRUE, col=c("burlywood1 ","orange2"), horiz=TRUE,cex.names=1.0, border ="white")
dev.off()
@
I have already disable echo but null device is on image. How can i avoid it?
Regards Regards