peekDataset {GCDkit} | R Documentation |
Both functions restore the previously stored dataset and make it current.
peekDataset(which.dataset=NULL) selectDataset()
which.dataset |
character; a name of the stored dataset. |
The function 'peekDataset
' restores a dataset saved previously into memory by
the function 'pokeDataset
'. This means that it assigns
all global variables specified by individual items of the list 'WRCube
'.
These typically are: 'WR
', 'WRanh
', 'milli
',
'labels
', 'filename
', 'groups
' and 'grouping
'.
The function 'selectDataset
' provides a graphical interface to
'peekDataset
', i.e. shows a list box filled by the names of datasets
currently stored in the memory.
None. But several global variables, among others 'WR
', 'WRanh
',
'milli
' and 'labels
', are affected.
The name of the current dataset is stored in 'dataset.name
'.
Vojtech Janousek, vojtech.janousek@geology.cz
data(sazava) accessVar("sazava") # stored as sazava in WRCube assignColVar("MgO","blues") assign1symb(15) # store a new copy in the WRCube pokeDataset("coloured sazava") data(swiss) accessVar("swiss") # stored as swiss in WRCube peekDataset("sazava") binary("SiO2","Ba") peekDataset("coloured sazava") binary("SiO2","Ba") peekDataset("swiss") binary("Catholic","Education",pch=15,col="darkgreen")