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
function of rgdal
package I get information on what is being read, for instance:
OGR data source with driver: ESRI Shapefile
Source: "__PATH_HERE__", layer: "__NAME__OF__LAYER__HERE__"
with 148 features and 5 fields
Feature type: wkbPolygon with 2 dimensions
Normally, it's useful thing to have.. but unfortunately it also prints out in my pdf output.
I tried setting knitr's chunk options to echo=FALSE, message=FALSE
but unfortunately it did't help.
Any better solution to that?