The tag has no usage guidance.

learn more… | top users | synonyms

3
votes
0answers
69 views

Difference between the CLI and the GUI version of Mathematica [closed]

I have been trying to find out how much faster Mathematica is in CLI than in GUI, and with lack of success in finding any information about it, I decided to crowdsource my quest for this piece of ...
1
vote
0answers
22 views

How to make lines not wrapping in text-mode Mathematica? [duplicate]

When running Mathematica from Unix command line, i.e. pure text mode, the lines wrap at about 70 pr 80 characters, creating lots of visual clutter. How do I set it so that any outputs will not wrap ...
2
votes
0answers
142 views

Is there a way to profile Mathematica code in batch mode?

I'd like to profile some Mathematica code to figure out why it's running slowly. Since the code takes about a day to run, I can't use the Wolfram Workbench GUI. Is there a way to run Wolfram Workbench ...
5
votes
1answer
148 views

How to send OUT output to stdout when running a script from command line on widows?

I am learning how to run a Mathematica m file from command line. I am on windows. My question is: How to make the output display on the screen (the DOS windows) as the script is running? Currently, ...
0
votes
0answers
42 views

View command-line output in GUI with formatting

Mathematica produces plain-text output when run at the Linux command line. Is there any way to open this plain text output in the Mathematica GUI so that it has all of the pretty formatting as if it ...
1
vote
1answer
128 views

Can CDF player (or player pro) run command line tools?

I'm curious if you could distribute a command line tool to run as a CDF file? For example, distributing a command line tool that loads data from a database, transmogrifies it somehow, then writes it ...
3
votes
1answer
137 views

Running PowerShell commands in Mathamatica

I'm trying to execute a PowerShell command using Mathematica. Someone has made it before? I tested my command direct in PowerShell, and it worked nice, but no ideia on how can I make Mathematica to ...
0
votes
0answers
120 views

running math file as batch job

I am trying to run the following mathematica program, ...
3
votes
0answers
65 views

Tab Completion Command Line

How do I effectively use tab completion with Mathematica program on the command line? programmable completion intro for Bash shell Are there any available tools or packages for tab completion of ...
2
votes
1answer
137 views

FullForm in Linux Command Line with -noprompt

I am looking for a way to get the output of FullForm in Command Line under Linux (Debian) using -noprompt argument. Example : What I have : a+b*c What I want : ...
0
votes
2answers
99 views

Exporting files while running .m file from command line

I have the following code in a .m file which is called test.m: Export["test.csv",0]; Exit[] I would like to run this .m file from the command line. I found that I can do that with the command "math ...
0
votes
0answers
77 views

Is it possible to run mathematica notebook without the interface?

Hi say I have something like this: Print["This is notebook 1."] graph1 = Plot[Sin[x],{x,-10,10}] Export["notebook1.pdf",graph1]; NotebookSave[] Quit I want to ...
2
votes
1answer
186 views

Running Mathematica code from a command line

How can I schedule custom Mathematica code to run on my windows machine? I need to schedule some code to run on my computer (Windows, Mathematica 10.0). I'm trying to get something to run via a ...
2
votes
1answer
354 views

Proper way to run a Mathematica script (-script vs -run vs MathematicaScript vs <)?

Suppose I have a Mathematica script called test.m. There at least 4 ways to run this from the terminal: ...
1
vote
1answer
524 views

Running a Mathematica Notebook from command line and saving the output [closed]

I am working on a project that requires some calculations to be done in Mathematica. I don't know Wolfram language and I don't have the time to learn it (I am using a 30-day trial) so I have a python ...
1
vote
0answers
54 views

Problem with importing numbers resulting from an executed file in Mathematica [closed]

I am running Mathematica 10 and I have a mathematica file, MBdebug.m, that contains the line val = Import["! ./MBpart1ep0", "Table"]; MBpart1ep0 is an ...
2
votes
2answers
131 views

ToExpression from commandline [duplicate]

I like to use Mathematica 8.0 from the commandline, then I just have to SSH in, no matter where I am, and go. I also like to do this without forwarding X, because that is slow and lags on my ...
2
votes
1answer
105 views

Changing Wolfram command line output into copyable text

I generated a long polynomial using the Wolfram command line, with divisions and exponents. But the divisions look like this: 4 - 5 And the exponents are on a ...
0
votes
0answers
113 views

Close Windows Explorer from within Mathematica?

Is it possible to close Windows Explorer from within Mathematica? I constantly find myself with multiple Windows Explorer windows open and it would be wonderful to be able to close them all at once ...
0
votes
1answer
96 views

Mathematica on a cluster

I try to run mathematica on a grid. Since this is my first time working on a cluster, I have no plan what to do. I have to run a job (pbs-file). ...
4
votes
2answers
283 views

Keep kernel running for execution of scheduled task

How can I keep a kernel running until all scheduled tasks have completed? For example upon running the following script bazinga.m: ...
2
votes
2answers
131 views

Under OS X, is there a way to view graphics output when running in the command line?

Being a long time unix shell person, I prefer Mathematica's command line interface, over the notebook. (command history, etc...) It just learned that on OS X, the cli is available as MathKernel. ...
3
votes
1answer
147 views

Is it possible to get AltGr key to work in Math.exe?

For some reason when you run Math.exe form windows command line, Mathematica disables the AltGr key. This is a bit annoying since my keyboard locale has the keys [, ], {, }, @, $, \, | located under ...
5
votes
0answers
147 views

Can Apple's Numbers spreadsheet link to a Mathematica function?

I use Apple's Numbers spreadsheet for a single thing, a double entry accounting model to understand complicated financial transactions. A current model depends on the value of a single initialization ...
3
votes
0answers
38 views

up arrow works in math version 9, fails in math version 8 ^[[A [duplicate]

I have strange up-arrow behavior on command line Mathematica 8 versus Mathematica 9. Version 9 gives me history, where version 8 fails with escape codes. Any way to make them both work on the same ...
5
votes
0answers
117 views

How can I run MUnit tests outside of Workbench under Linux?

I would like to run MUnit tests from the command line. On Mac OS, I can do this: ...
3
votes
1answer
194 views

Key Mapping in Command Line Mode

I would like to map Ctrl-U to "kill line" when using Mathematica 9.0 in command line mode (i.e. not within the front end, but when called from a Unix command line by "math"). I am aware that (on a ...
22
votes
2answers
822 views

How do I efficiently navigate the command line interface to Mathematica?

I would like to perfom such feats as cycling through previous commands, editing commands in place, etc. My expectation would be a readline-like interface, but this appears to not be the default.
8
votes
2answers
1k views

shortcut key for traverse command history in a Mathematica session in a terminal?

I wonder what is the shortcut key for traverse command history (i.e. retrieve last, last last, ..., commands) in a Mathematica session in a terminal? If I hit the up/down arrow or pageup/pagedown, it ...