I am trying to generate a report about some work I have been doing with geospatial data and I want to include tiff files I have generated for comparison. When I attempt to include the .tif files in the HTML RMarkdown output, it displays that "the format is not supported." How can I fix this? Is this a programming issue or a software issue?
Assuming grid and tif packages are installed, the following code (in the code-chunk) do the printing task : grid::grid.raster( tiff::readTIFF( "./figure/myfigure.tif") )
read the file in a code-chunk let you print a tif within knitting to any output format (including docx).
Ps : Of course, you have to indicate a bunch of options for the code-chunk.