Learn R Programming

nprcgenekeepr (version 1.0.8)

getLogo: Get Logo file name

Description

Get Logo file name

Usage

getLogo()

Arguments

Value

A character vector of length one having the name of the logo file used in the Input tab. A warning is returned if the configuration file is not found.

Examples

Run this code
result <- tryCatch(
  {
    getLogo()
  },
  warning = function(w) {
    print(paste0(
      "Warning in getLogo: ", w, ". File is to be ",
      suppressWarnings(getLogo())$file
    ))
  },
  error = function(e) {
    print(paste0("Error in in getLogo: ", e))
  }
)

Run the code above in your browser using DataLab