Learn R Programming

ExperimentHub (version 0.99.9)

getExperimentHubOption: Get and set options for default ExperimentHub behavior.

Description

These functions get or set options for creation of new ExperimentHub instances.

Usage

getExperimentHubOption(arg)
setExperimentHubOption(arg, value)

Arguments

arg
The character(1) hub options to set. see Details for current options.
value
The value to be assigned to the hub option.

Value

  • The requested or successfully set option.

Details

Supported options include:

[object Object],[object Object],[object Object],[object Object]

Default values may also be determined by system and global R environment variables visible before the package is loaded. Use options or variables preceded by EXPERIMENT_HUB_, e.g., options(EXPERIMENT_HUB_MAX_DOWNLOADS=10) prior to package load sets the default number of downloads to 10.

Examples

Run this code
getExperimentHubOption("URL")
setExperimentHubOption("CACHE", "~/.myHub")

Run the code above in your browser using DataLab