One of the fun things to do with WL is to examine datasets from various sources. In doing so, I have encountered an error that I have not previously observed. Upon creation of two datasets in the lower right of the dataset there appears a button that indicaes "Data Not Saved", which upon hovering over it, indicates that the "Object can not be used for input".
A previous question, /30149, suggested that this issue arises from the fact that the dataset is larger than the
$NotebookInlineStorageLimit
, which is set to 2^20 bytes by default. This is in fact the case, for the two datasets I have imported. Consequently, I set the $NotebookInlineStorageLimit as
$NotebookInlineStorageLimit = 2^30
which is larger than the byce count for either. However, the error button persisted. Turning off the Dynamic Updating also suggested as a fix eliminated display of the datasets.
The two datasets used here were downloaded from:
worldEnergyDataEMBER =
Import["https://storage.googleapis.com/emb-prod-bkt-publicdata/public-downloads/yearly_full_release_long_format.csv", "CSV"]
headers =
First[worldEnergyDataEMBER];
data = Rest[worldEnergyDataEMBER];
emberWorldDataset =
Dataset[AssociationThread[headers, #] & /@ data]
ByteCount[emberWorldDataset]
europeanEnergyDataEMBER =
Import["https://storage.googleapis.com/emb-prod-bkt-publicdata/public-downloads/europe_yearly_full_release_long_format.csv", "CSV"];
headersEurope =
First[europeanEnergyDataEMBER]
dataEurope =
Rest[europeanEnergyDataEMBER];
emberEuropeanDataset = Dataset[AssociationThread[headersEurope, #] & /@ dataEurope]
ByteCount[emberEuropeanDataset]
Can anyone explain why increasing the $NotebookInlineStorageLimit to a size greater than either dataset did not eliminate the error from appearing?
Dataset[...line again after increasing the limit? Can't use your example but works for my experiments. $\endgroup$