5

When using functions such as FinancialData or CountryData, on many occasions, Mathematica needs to connect to the Wolfram Research Server to download the necessary information to evaluate these commands. Sometimes internet connection is not available and other times the process is just redundant. Therefore, is there a folder or directory in which the data downloaded is stored? Is it cached? Is there a way to access it? How does this work?

DMH16
  • 379
  • 2
  • 14
  • 6
    Depends on the functionality, but typically somewhere in $UserBaseDirectory (e.g. in Paclets) or in $LocalBase. – ilian Jan 09 '18 at 01:54

2 Answers2

4

Answer from a comment:

Depends on the functionality, but typically somewhere in $UserBaseDirectory (e.g. in Paclets) or in $LocalBase. – ilian Jan 9 at 1:54

Michael E2
  • 235,386
  • 17
  • 334
  • 747
0

It should save into your current directory, which you can see with the command

Directory[]

You can use use the command SetDirectory["directoryname"] to change the current directory to what you want. If you have loaded your .nb file from a directory or saved it to a directory, you can specify

SetDirectory[NotebookDirectory[]]

and your current directory will be the same as the directory your notebook is saved to. This doesn't work if your current notebook is brand new and has not been saved yet, because then there is no directory assigned to the notebook yet.

Bill Watts
  • 8,217
  • 1
  • 11
  • 28
  • I don't think so. Curated data is not saved like data you save from your notebook. – m_goldberg Jan 09 '18 at 03:14
  • That's true for data that you do not specifically save yourself. There is data in "Paclets/Repository" in the $UserBaseDirectory[]. The data is in binary .wdx files, so it is not particularly readable. – Bill Watts Jan 09 '18 at 04:27
  • 5
    I read the question as the OP asking about curated data that has been downloaded by reference and not specifically saved by the OP. therefore, I don't think this answers the question. – m_goldberg Jan 09 '18 at 04:50