pokeDataset {GCDkit} | R Documentation |
Saves the current dataset into memory so that it can be later re-stored.
pokeDataset(which.dataset = NULL, par.list = "WR,WRanh,milli,labels,filename,groups,grouping")
which.dataset |
character; a name of the stored dataset. |
par.list |
list of global variables to be stored. |
This function stores the global variables specified by par.list
, typically
'WR
', 'WRanh
', 'milli
' 'labels
',
'filename
', 'groups
' and 'grouping
'
into the list 'WRCube
'.
If no which.dataset
is provided upon the call, it can be typed in or
selected from the list of existing datasets.
Please note that 'pokeDataset
' is also invoked when a new dataset
is loaded into memory using the functions 'loadData
'
or 'accessVar
'. In the former case it is stored under
the name of the file, in the latter under the variable name.
If such a name already exists in 'WRCube
', a time stamp is attached.
For restoring the stored variables serve functions 'peekDataset
' and
'selectDataset
'. The function 'purgeDatasets
' removes
all older datasets, apart from the most recent copy of the current one.
None.
If not called from a GUI, no warning is issued upon rewriting the existing dataset.
Vojtech Janousek, vojtech.janousek@geology.cz
'peekDataset
' 'selectDataset
' 'purgeDatasets
'
'loadData
' 'accessVar
'
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")