View source: R/removeDatabase.R
removeDatabase | R Documentation |
Remove a database from the "db" slot in a PAMpalSettings object.
removeDatabase(pps, index = NULL)
pps |
a PAMpalSettings object to remove a database from |
index |
index indicating which database(s) to remove. Can be a vector
if you want to remove multiple databases. If missing user is prompted to
select a database from a list, will only show up to the first 20. You can
easily remove all of the databases with a large index like |
the same PAMpalSettings object as pps, with the database(s) removed from the "db" slot
Taiki Sakai taiki.sakai@noaa.gov
exPps <- new('PAMpalSettings')
exPps <- addDatabase(exPps, system.file('extdata', 'Example.sqlite3', package='PAMpal'))
removeDatabase(exPps, 1)
if(interactive()) removeDatabase(exPps)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.