Description Usage Arguments Details Value Examples
View source: R/guess-content-type.R
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.
1 | guess_content_type(path)
|
path |
path to file |
Incorporates standard IANA MIME extension mappings and those from servoy-client and stevenwdv's allMimeTypes.json.
character vector
1 | guess_content_type(system.file("extdat", "test.pdf", package="simplemagic"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.