Learn R Programming

stanza (version 1.0-3)

stanza_download_method_code: Select Download Method

Description

Function to obtain the download method code or list all allowed download methods.

Usage

stanza_download_method_code(method = NULL)

Value

an integer giving the download method code.

Arguments

method

a character string giving the name of the download method. The case oft he download method name is ignored. If NULL all allowed download methods are shown.

Examples

Run this code
if (is_stanza_initialized()) {
  stanza_download_method_code()
  stanza_download_method_code("none")
  stanza_download_method_code("reuse_resources")
  stanza_download_method_code("download_resources")
}

Run the code above in your browser using DataLab