| Mime-class | R Documentation |
Mime and object MimeA convenience object for determining the MIME type of a file name.
file_extname(fname=NULL):Returns the file extensions for the given file.
mime_type(ext=NULL, fallback='application/octet-stream'): Returns the MIME type given the file extension. Be sure to include the dot character in ext. If no match is found, then the fallback MIME type is returned.
Mime$file_extname('foo.png')
Mime$mime_type('.png')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.