Skip to main content

Questions tagged [save]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
76 views

How to save a list of data in txt format in mathematica?

I have the following program in mathematica ...
Edinardo Rodrigues's user avatar
5 votes
2 answers
132 views

Syntax error when running file created with Save which contains backslashes

I am doing a nested integration. So far the result was successfully saved with Save["filename.wl", IntOutput] and looked as following: ...
seva011's user avatar
  • 316
0 votes
0 answers
34 views

Iconise, Save expression in notebook, or DumpSave?

After computing an expression of size 4.8 Mb, Mathematica offers the options to Iconise or Save expression in notebook, and there is also the possibilty to DumpSave. What are the adantages of each ...
florin's user avatar
  • 1,810
1 vote
0 answers
46 views

Save the mathematica notebook on cloud as PDF on System/Cloud

I am using mathematica on the free Wolfram cloud version. I first tried using the option of "Print to PDF" available under the "File" on the top of Nav Bar. However, it redirects ...
CuriousMind's user avatar
0 votes
1 answer
107 views

Where and how can I save a mathematica package

I want to save a mathematica package and then i want to extract and run it from there. How can i do that?
Ioannis Sklavounos's user avatar
0 votes
0 answers
57 views

Modify save as.. in the menubar (by editing MenuSetup.tr) [duplicate]

I use mathematica V 14.0.0. Is it possible to modify the behavior of Save as.. in the menubar? That is, I want to change the initial full path. We see a window ...
imida k's user avatar
  • 4,315
1 vote
2 answers
165 views

Change default save path/location of an .nb by code

If I open c:\test1\test1.nb and click Mathematica MenuBar - File - Save as... then a window for Save as... pops up, and the default save path is ...
imida k's user avatar
  • 4,315
0 votes
1 answer
49 views

Axes labels piled up in exported pdf

I am running this code, and it displays the picture I wanted. After that, I click on it and rotate it to look just so, then right-click and save it into a PDF. But in the saved pdf, the axes labels $...
district9's user avatar
  • 141
2 votes
2 answers
89 views

How can I Save function defintion without its DownValues?

I use functions that memorize their values like this one: ...
Igor Kotelnikov's user avatar
2 votes
1 answer
76 views

How do I export/import lists with their assigned names?

I want to write lists of expressions into an output file with names assigned to each list. Later I want to import them in a new notebook for further use. Example. ...
BabaYaga's user avatar
  • 1,897
3 votes
1 answer
90 views

Function to Save/DumpSave without specifying full path

I am trying to create a function that saves a set of symbols into "test.mx" and is easy to use. ...
Albercoc's user avatar
  • 998
1 vote
1 answer
90 views

How to save a definition in one file and update it easily?

When running a task which needs a long time for computation but returns a simple result, I often do this: ...
Crack-Hu's user avatar
0 votes
0 answers
38 views

How to best save the result of a very long Solve, which took one hour, when the command Save itself takes more than 10 minutes?

Hi I have run one long Solve, which took one hour, and seems to have found reasonable results, 6 solutions E1 for a system with 8 variables, two of them which I suspect to be simple. Unfortunately, ...
florin's user avatar
  • 1,810
1 vote
1 answer
136 views

Saving lengthy calculation results in Mathematica for future use [duplicate]

I've got a really long list that's the result of a complex calculation. I'd like to save it in a way that I can use it again when I start a new session in Mathematica, without having to redo all the ...
hana's user avatar
  • 2,390
0 votes
0 answers
19 views

Is it possible that an attempt to `Save` damages a file to the extent that further work on it becomes impossible?

I have a history of my Mathematica 13.1 having problems sometimes when I try to Save or DumpSave variables with long formulas -- ...
florin's user avatar
  • 1,810
2 votes
1 answer
138 views

Problems with 'DumpSave' and 'Save' in Mathematica 13.1 on Windows 11

My Mathematica 13.1 crashes when I try to see the result of 'Save' for some very long expressions, and produces short DumpSave files which when clicked on contain only Null. I have a system ...
florin's user avatar
  • 1,810
0 votes
0 answers
136 views

You're running in a mode which does not allow saving files

Does anyone know how to solve this problem? (13.0.1 for Microsoft Windows (64-bit) (January 28, 2022))
internet's user avatar
  • 547
1 vote
1 answer
71 views

Save/Export "any" mathematica window in .nb

Can I call this (a tutorial page) a mathematica notebook? At least it is a kind of mathematica window, which looks like a common .nb file. Is it possible to Save/Export this mathematica window in .nb ...
imida k's user avatar
  • 4,315
0 votes
1 answer
52 views

Save a certain number of decimal places to a file [closed]

I would like to save data to a txt file. I use for this PutAppend[ " x= ", N[x], " y= ", N[y], "D:/Users/.../file.txt"]] But the ...
Mam Mam's user avatar
  • 1,883
1 vote
2 answers
94 views

How to save a sequence as a plain text file?

I would like to be able to generate data files like the ones provided with NIST SP 800-22 (binary expansions of irrational constants), which contain data akin to ...
YaGoi Root's user avatar
0 votes
0 answers
39 views

save function only for particular arguments to file

Define f[2] = 3 f[3] = 5 I know how to save the function to file: ...
hgrie's user avatar
  • 1
2 votes
2 answers
99 views

Save current data [closed]

I'd like to write the current data, but the Monitor and PutAppend are being written in such a way that the function pot does not match the current variables (a and b). How can I fix this? ...
Mam Mam's user avatar
  • 1,883
0 votes
0 answers
38 views

How to use NotebookDynamicExpression on a timed event

I have a few questions for how the feature NotebookDynamicExpression was used in ResourceFunction[SetNotebookAutoSaveTime]. Below is the entire definition: ...
Jules Manson's user avatar
  • 2,467
1 vote
1 answer
61 views

Save expression for future use [closed]

I have an expression given by a summation, which takes a few hours to compile and which gives me over a million terms. How can i save up this expression to use him another day, wihtout doing the sum ...
Luis Renato's user avatar
6 votes
1 answer
1k views

Save loop output in a data file

I started working on Mathematica today. I'm trying to save the result of a loop in a file as a column, very simple to do, but hard for someone who doesn't know Mathematica syntax. Here is my code: <...
nosumable's user avatar
0 votes
0 answers
54 views

Save and view multiple Manipulates in one file

Following a suggestion under this question, I tried to use several Manipulates to record groups of many plots. This is to avoid the painful delay and freezing of ...
xiaohuamao's user avatar
  • 4,728
0 votes
0 answers
71 views

Save figure of a plot following a conversion from notebook to Wolfram script

I have the following Mathematica notebook on this link notebook link I have converted it to Wolfram script. Once done this, I am trying to save the plots as png ...
youpilat13's user avatar
0 votes
1 answer
185 views

Mathematica freezes when pressing save as

When I try to save a notebook, Mathematica freezes (https://youtu.be/U-8xsjrOmt0). If I wait for around 2 minutes the save menu eventually shows up. If I want to just save existing saved nb., there's ...
GalZoidberg's user avatar
0 votes
0 answers
36 views

Meshgrid Visible in RegionPlot when Saving Figure as PDF [duplicate]

I have a region and a contour plot. My goal is to superimpose them to compare them. So, I used the Opacity[] on the region plot function but when I save the figure ...
diffusiondiver11's user avatar
1 vote
0 answers
139 views

Why does saving not save and instead open up a new notebook?

I have been working on a notebook and when trying to save (using Ctrl+S or 'File' and 'Save'), the notebook does not save and instead a new blank notebook opens up. Doing 'File' and 'Save As' does ...
Chris's user avatar
  • 1,043
10 votes
1 answer
608 views

Mathematica and Google Drive backup client

My Mathematica notebooks (as well as all other files I author in my research) are in a directory that is managed by the Google Drive client. This automatically backs up everything I create and I don't ...
Wynne's user avatar
  • 1,526
1 vote
0 answers
67 views

Why is my autoSave function not working?

This is not asking how to set up a timed recurring autoSave so please do not flag as already answered. The following should work but it doesn't and I cannot figure out why. While running this I made ...
Jules Manson's user avatar
  • 2,467
2 votes
2 answers
92 views

How can I store vectors in a matrix

I am triying to generate realizations of a Gaussian random process using the KL expansion. For that, I need to multiply an eigenvector for an eigenvalue and a random variable. I have tried ...
slow_learner's user avatar
0 votes
0 answers
42 views

How to save data to a new file, import the data and then use it

I have a for loop which generates random matrices and then some scalar numbers for example: ...
dan's user avatar
  • 113
0 votes
0 answers
38 views

.nb file containing large data is not saved correctly [duplicate]

I created a large list of real numbers and saved it to Tes.nb Tes = Sort[RandomReal[{-7., 7.}, 1000000]] But I noticed the size of Tes.nb file was merely 10 KB. ...
imida k's user avatar
  • 4,315
0 votes
2 answers
423 views

Exporting a file into a subdirectory of notebook

How can I create a directory in a notebook directory and export a file (resulted from that notebook) to created subdirectory?
mrt31's user avatar
  • 123
0 votes
1 answer
83 views

Save data directly in a cell

How can I save a custom list of data in this style? I would like to save a large imported file in a cell without reading it again.
Jose Nuñez's user avatar
3 votes
1 answer
96 views

Can someone please check the given code? How can I save the result of GraphicsGrid as pdf?

I want to have these 3 plots together vertically ...
charmin's user avatar
  • 1,159
1 vote
0 answers
57 views

When I save a plot as PDF, the curve becomes thick and unclear. How can I solve it?

Using this code ...
charmin's user avatar
  • 1,159
0 votes
2 answers
135 views

Save a Derivative

I have defined the derivative of a function Derivative[1][f][x_] := Sin[x] How can I save this definition in a file? Derivatives are not included in ...
Brett van de Sande's user avatar
1 vote
0 answers
59 views

How to use export and schedule tasks to backup entire contents of an notebook at regular time intervals?

I am sorry I don't have any code to share so I would like your ideas. Although there is an AutoSave feature in Mathematica it lacks usefulness as it cannot be ...
Jules Manson's user avatar
  • 2,467
1 vote
2 answers
812 views

Mathematica history: restoring previous version

I have read such page: https://reference.wolfram.com/language/workflow/FindTheEditHistoryOfANotebook.html So we can see when each line has been modified. But can we restore to the associated version ? ...
StarBucK's user avatar
  • 2,164
3 votes
3 answers
203 views

How can I configure both Mathematica and the FrontEnd (whatever it is) to use the directory of the current notebook when saving/exporting graphics?

My system: Mathematica 11.2, Windows 10 Problem: I am (perpetually) working on my lecture notes, adding graphics produced by Mathematica. Obviously the notebooks I created for this purpose are in the ...
Jyrki Lahtonen's user avatar
0 votes
0 answers
37 views

Please help validate autoSave function or refactor for better performance

I finally have my autoSave[] function that appears to work. Although it does automatically save file the DateString (dynamic in-...
Jules Manson's user avatar
  • 2,467
1 vote
0 answers
30 views

Is there a way to count quantity of evaluations (this preferred) or edits in a cell since last notebook save?

Abstract The goal is to use this to create an autoSave[evals_:5]:=Module[{}, save after set number of evaluations or edits have occured...]. I asked a similar ...
Jules Manson's user avatar
  • 2,467
1 vote
1 answer
218 views

Save[] but without duplicate data?

I wanna be able to start my session by loading a bunch of data and then finish by saving everything. Here's an example of what I've been doing: I have the function ...
H.v.M.'s user avatar
  • 1,093
0 votes
1 answer
71 views

Avoid an Error Message when Importing

Consider the following code Button["Import", file = SystemDialogInput["FileOpen"]; data = Import[file], Method -> "Queued"] which yields a button which, ...
sam wolfe's user avatar
  • 4,873
4 votes
1 answer
313 views

how to save a file in STL format

good morning. I have written a code of a spherical gyroid when I run it, it gives me a 3D drawing. now I need to save it in STL format for 3D printing. Mathematical doesn't have the option to save the ...
Selamo Basile's user avatar
5 votes
0 answers
103 views

Restoring previous "Save Selection As..." behavior

I've just upgraded to Mathematica version 11.3 (from 8.0) under MacOS 10.11.5. I noticed that when I "Save Selection As..." or "Save Graphic As...", the pre-filled name is "Untitled" plus the ...
robjohn's user avatar
  • 1,071
3 votes
3 answers
195 views

How to save expression with its name

I want to save expressions as well as their names in a file. func[i_] := i; Do[func[i] >>> out.m,{i,1,3}]; The output is ...
BabaYaga's user avatar
  • 1,897