The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
24 views

auto save a notebook using init.m

I tried to make mathematica autosave as default, so I put Sjoerd C. de Vries's code ...
1
vote
1answer
63 views

Why does Mathematica remove some formatting?

I'm trying to save a file as PDF. Using SetOptions[$FrontEnd, PrintingStyleEnvironment -> "Printout"] so it looks nice. There are a bunch of formulas, and every ...
0
votes
1answer
49 views

Execute code when it's saved [duplicate]

How do I execute code on save? This is a similar question: Running a package automatically when it's saved
0
votes
1answer
37 views

save as pdf output appears really narrow and has many pages

If I attempt 'save as' pdf I sometimes (but not always) get really narrow output, resulting in many pages of output. Notice how little text ends up on the page. I can't see any settings that I've ...
1
vote
1answer
78 views

Can Save[] produce a .nb file instead of a text file?

(I use Mathematica 9.0.1 on OS X 10.10.2.) Suppose I have a notebook in which I make some definitions and assignments. ...
0
votes
0answers
62 views

Frozen Notebook- Unsaved

I know there are similar questions out there, but none of them seemed to answer the actual question. My notebook froze (along with every other notebook that was open on my computer) after I executed a ...
3
votes
1answer
103 views

Saving memoization to disk

I like using memoization (i.e. the construct myFunction[x_]:=myFunction[x]=...) when I have a heavy function that I need to re-evaluate on the same arguments. ...
3
votes
2answers
238 views

Is it possible to recover an unsaved notebook after closing it?

I just Ctrl-Alt-Deleted out of Mathematica after I crashed it while running. I had not saved it all day and had done quite a lot of work on it. When I reopen the file, it shows a version with none of ...
0
votes
1answer
98 views

How to convert a Mathematica list in a Python list?

I was wondering if you know, how to save a Mathematica list (variable) such that it can be read later in Python. In order words, how to save a variable ...
0
votes
3answers
47 views

Save a result containing HoldForm to a file

This is the workflow I have. Basically, I want the outputs of the polynomials I computed are in a specific order. (It is not the same one here, this is just an example.). ...
4
votes
2answers
178 views

A better way of handling Module output?

I am sure this has been asked before in a way or another. I need to Save or DumpSave some symbols that contain the result of ...
1
vote
2answers
84 views

Save file from URL using mathematica

Is there an easy way to download and save a .zip file from a URL to my computer through Mathematica? I am trying to develop an auto-update function for a mathematica package that is distributed via ...
1
vote
1answer
68 views

working with notebooks ('looping' a notebook and storing the results of each step in another notebook)

A notebook contains a series of numerical calculations (numerical integrations, numerical solution of systems of equations etc). Many parameters are involved. The final result is in the form of a ...
4
votes
2answers
87 views

Save imported sound into a notebook (so I can e-mail it)

At the end of my code I'd like to put an imported (wav) sound. I would then play it with EmitSound[my_sound] when this cell will ...
1
vote
0answers
39 views

Default starting location of “Save as…” dialog in OS X [duplicate]

In the answer to this previous question, user Szabolcs says On OS X (I'm using 10.9 and Mathematica 9) the file chooser dialogue will remember the last location you used. So if you Save/Open ...
1
vote
1answer
68 views

Disable cache and pop up

I have a nb file that I have been editing frequently in M 10, but no matter how many times I modify the file or edit the file in M 10 it doesn't seem to update its cache. Everytime I open the file I ...
0
votes
1answer
92 views

Mathematica does not have permission to write files - Linux [closed]

I'm working with very large datafiles, (like: my calculations run for several days). I would like to save my output after every calculation, in case the kernel crashes. However, my computer refuses ...
3
votes
1answer
77 views

Saving data from NonlinearModelFit

If you use NonlinearModelFit the results are put into some sort of output package. How do you save these packages so that you can go back to them later? My particular problem is that I generating ...
3
votes
0answers
71 views

Is there a way to convert the mathematica document into word document in a neat way?

Is there a way to convert the mathematica document into word document in a neat way? I tried by "save as" command and found something like Risk text format "*.rtf" but still many parts look messy.. ...
9
votes
1answer
144 views

How to save the result in the Notebook (.nb) and shut down the computer when the calculation is done

I have a notebook(.nb) which its calculation is time-consuming and long. I can not observe it if the calculation is done or not. Therefore, I want to : Save the results in the notebook(.nb) ( I do ...
0
votes
1answer
53 views

How to save a list of analytic expressions in a file? [duplicate]

I use Mathematica to calculate many analytic expressions, some of them are generated by a loop process, the result can be a vector with a index, e.g., f[i]. Now ...
1
vote
1answer
61 views

Save a notebook with “input” and “output” on the left of all cells

How to make Mathematica save a notebook with "input 1" and "output 1" on the left of cells? If I open a saved notebook, those tags are gone.
2
votes
1answer
148 views

Error when attempting to save Notebook. Cause and solution?

I am experiencing an error attempting to save a modified Notebook in Mathematica 10 under Windows. The error I get is: ...
0
votes
3answers
178 views

saving outputs of loop

I am stuck on a problem. I have outputs generated at every iteration of a do loop. However, I want to save the outputs in some other file format, like text file etc, in such a way that i must be able ...
2
votes
1answer
92 views

Merge StyleSheet into a notebook

I have a custom style called style1.nb and I want to install it into a notebook Class01.nb so I can send only the notebook file to my students with the style of style1.nb. Is that possible?
4
votes
1answer
104 views

Saving notebook, excluding output cells, without losing “working notebook” output cells

In order to discuss this, I think it's easiest to start with two definitions. (If there's a standard terminology, please comment.) Working notebook: a notebook that is open and in memory. Disk ...
0
votes
0answers
66 views

How to save all data in all variables in context different than “global”?

I have seen questions on saving data on "global" context. Now if I set my notebook's evaluation context "unique to this notebook". the global context doesn't work quite well. Any idea what should i do ...
1
vote
1answer
70 views

Write memory usage to file in script

Is there a way to write the MemoryInUse into a file once a minute? In this Debugging memory leaks question there is a neat dynamic diagram showing the MemoryInUse over time. My problem is that I run ...
3
votes
2answers
289 views

Copy and paste behaviour with Subscript

I tend to use a lot of subscripts in my code, and I am aware that copy and paste of subscripts from Mathematica to MathematicaSE (or any text editor, for that matter) is screwy in the sense that $a_b$ ...
0
votes
0answers
131 views

Save open Mathematica Notebook from command line or second Notebook to avoid data loss

I was executing a long Mathematica Notebook over night. The Mathematica instance is running on a Linux workstation (in a vnc server session to be precise). Now I cannot access this session anymore, ...
2
votes
0answers
64 views

How to save all variables in the workspace into a file? [duplicate]

I did some time consuming computation and obtained a lot of arrays and variables; however after restart the Mathematica Kernel, all these computational results disappeared. How can I save all these ...
0
votes
0answers
87 views

Widget - GUI help

I was wondering if someone could explain me the code written below (example File Dialog from mathematica). Especially the part with returnValueand ...
5
votes
2answers
154 views

Save all input History in a log file

I would like to write some code in my init.m to save all inputs {In[1],In[2],...In[lastone]} right before I close the kernel (or exit Mathematica). Such a script ...
4
votes
2answers
159 views

Find a notebook I had open recently

I worked on a notebook a few weeks ago and now I can't find after looking through the most likely directories. The recent list only has 6 items in it, none of them the notebook in question. Is there a ...
22
votes
2answers
2k views

How to save all data in all variables so that loading it is fast?

I've got this CSV file I've imported that has tens of millions of lines in it. It takes around 20 minutes to import. I've been working with it for a while and have the processed data spread out in a ...