I am utilizing Knitr to compile a pdf document, and as such I am 'knitting' to PDF. As of last night the following lines of code produced the graphics I wanted from Corrplot with no problem. As of this morning I am getting an error - nothing has changed code-wise:
```{r,echo=FALSE,include=TRUE,fig.height=14,fig.width=14}
cor<-cor(data[c(3:7,11,12,14,15:51)])
require(corrplot)
corrplot(cor,type="lower",method="ellipse",tl.cex=1.2,cl.cex=1.2)
```
I am getting the following error:
Error in corrplot(cor, type = "lower", method = "ellipse", tl.cex = 1.2, :
unused arguments (type = "lower", method = "ellipse", tl.cex = 1.2, cl.cex = 1.2)
Calls: <Anonymous> ... withCallingHandlers -> withVisible -> eval -> eval -> corrplot
Execution halted
When I run this code standalone in R, without using knitr, the code runs no problem and produces the graphic I am looking for. I have used Corrplot numerous times and have never had this problem before. Any insight as to how I can resolve this issue?