Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gContentTypeGuess

gContentTypeGuess


Description

Guesses the content type based on example data. If the function is uncertain, result.uncertain will be set to TRUE. Either filename or data may be NULL, in which case the guess will be based solely on the other argument.

Usage

gContentTypeGuess(filename, data)

Arguments

filename

a string, or NULL

data

a stream of data, or NULL

Value

A list containing the following elements:

retval

[char] a string indicating a guessed content type for the given data.

result.uncertain

a flag indicating the certainty of the result

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.