powered by
Uses an internal database of over 1,500 file extension-to-MIME mappings to return one or more associated types for a given input path. If no match is found, ??? is returned.
???
guess_content_type(path)
path to file
character vector
Incorporates standard IANA MIME extension mappings and those from servoy-client and stevenwdv's allMimeTypes.json.
# NOT RUN { guess_content_type(system.file("extdat", "test.pdf", package="wand")) # }
Run the code above in your browser using DataLab