I\'m building small report using R & knitr, sending the output to pdf.
I\'m using several shape files in my analysis and whenever I use readOGR func
readOGR
The "knitr" way to do this would be to use results = 'hide'. Borrowing from @SimonO101's example data, try:
results = 'hide'
```{r, results='hide', echo=FALSE, message=FALSE} library(rgdal) dsn <- system.file("vectors", package = "rgdal")[1] cities <- readOGR(dsn=dsn, layer="cities") ```