## Store the current config settings, so they can be reloaded at the end
## of the examples
conf_store <- tcplConfList()
tcplConfDefault()
## Passing no parameters gives all of the registered chemicals with their
## sample IDs
tcplLoadChem()
## Or the user can exclude spid and get a unique list of chemicals
tcplLoadChem(include.spid = FALSE)
## Other examples:
tcplLoadChem(field = "chnm", val = "Bisphenol A")
tcplLoadChem(field = "chid", val = 1:5)
## Reset configuration
options(conf_store)
Run the code above in your browser using DataLab