Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am doing some calculations from different notebooks. I need to export the results from all those notebooks in columns of the same file, like

a1 b1 c1
a2 b2 c2
a3 b3 c3
. . .

where a, b and c are the different notebooks.

share|improve this question
1 – Dr. belisarius Mar 10 '13 at 15:38
It is not clear what you asking here. Do you want the data in the external file for use outside Mathematica? Or do you think you need the external as a conduit between the three notebooks? – m_goldberg Mar 10 '13 at 16:05

What belisarius is trying to say in his comment is that variables in one notebook are normally accessible in another without problems.

If you happen to have set your notebooks to have unique contexts like this

Mathematica graphics

then you can obtain the qualified name for the variables in two ways:

Mathematica graphics

(to be executed in the notebook where the variable is defined).

You then use the full names in Export to export the results to an external file.

share|improve this answer
I am sorry I wasn't clear. I need to print all my results in the same .dat. However, this results are obtained from different Mathematica notebooks. I want to export all the results in columns, such that I can differentiate them more easily. Thank you in advance for all your help. – Jose J Alonso Mar 10 '13 at 18:46
@JoseJAlonso You're still rather confusing. Is your problem exporting in columns or accessing data in different notebooks? An answer to the latter is provided above and an answer to the former can be found in the Export documentation (here). There are also many questions on exporting on this site, that can be easily found without much effort. – Sjoerd C. de Vries Mar 10 '13 at 19:40
You were right, I have already solve the problem, thanks... – Jose J Alonso Mar 11 '13 at 8:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.