data(spectral_data)
## Return history of usage
usagehistory(spectral_data)
## Deleting history of usage
usagehistory(spectral_data) <- character()
spectral_data
## Adding entries
usagehistory(spectral_data) <- "New entry" ## Adding new entry
usagehistory(spectral_data) <- "New entry 2" ## Adding second entry
spectral_data
Run the code above in your browser using DataLab