If a python library can read the file then you can use it within your R workflow using the reticulate package for importing the python library into R, for example I use this python library for generating 1D barcodes and later I render this images in html tables using rmarkdown.
library(reticulate)
use_python("/usr/bin/python3.5")
barcode <- import("barcode")
name <- barcode$generate('EAN14', '77751493001181', output='barcode_img')