set_program {QBMS} | R Documentation |
Set the Current Active Breeding Program
Description
Updates the current active breeding program in the internal state object using the programDbId which is associated with the given program_name parameter.
Usage
set_program(program_name)
Arguments
program_name |
The name of the breeding program. |
Value
No return value.
Author(s)
Khaled Al-Shamaa, k.el-shamaa@cgiar.org
See Also
login_bms
, set_crop
, list_programs
Examples
if(interactive()) {
# Configure your server connection
set_qbms_config("https://bms.icarda.org/ibpworkbench")
# Login using your account (interactive mode)
# You can pass your username and password as parameters (batch mode)
login_bms()
# Select a crop by name
set_crop("wheat")
# Select a breeding program by name
set_program("Wheat International Nurseries")
}
[Package QBMS version 1.0.0 Index]