Create a copy of an object in which some element of its
metadata
slot has been altered, or added.
Arguments
- object
an oce object.
- name
String indicating the name of the
metadata
item to be set.- value
Value for the item.
- note
Either empty (the default), a character string, or
NULL
, to control additions made to the processing log of the return value. Ifnote=""
then an entry is created based on deparsing the function call. Ifnote
is a non-empty string, then that string gets added added to the processing log. Finally, ifnote=NULL
, then nothing is added to the processing log. This last form is useful in cases whereoceSetData
is to be called many times in succession, resulting in an overly verbose processing log; in which case, it might helpful to use processingLog<- to add a summary entry to the object's processing log.
Value
An oce object, the metadata
slot of which has
been altered either by adding a new item or modifying an existing
item.
See also
Other things related to the metadata slot:
oceDeleteMetadata()
,
oceGetMetadata()
,
oceRenameMetadata()