Learn R Programming

RGtk2 (version 2.20.1)

gAppInfoSetAsDefaultForExtension: gAppInfoSetAsDefaultForExtension

Description

Sets the application as the default handler for the given file extension.

Usage

gAppInfoSetAsDefaultForExtension(object, extension, .errwarn = TRUE)

Arguments

object
extension
a string containing the file extension (without the dot).
.errwarn
Whether to issue a warning on error or fail silently

Value

  • A list containing the following elements:
  • retval[logical] TRUE on success, FALSE on error.
  • errora GError.