Tag Info

New answers tagged


Chen, use the following in the terminal and both codes should work just fine: math -nohup -run "<<tmp.m" > output any error messages will be in the file "output". When I run this, I get both the excel sheet and the PDF. Now, if you try to export graphics without a frontend you can sometimes run into trouble, but you'll find any error messages ...


This works for running scripts. Print is not supported and stdout and stderror are not supported either. Needs["NETLink`"]; InstallNET[]; ShowNETConsole["stdout"]; LoadNETType["System.Console"]; Console`Out@WriteLine["Hello from .NET"]; WatchFile[file_String, fun_] := Module[{time, time2, w, e}, w = NETNew["System.IO.FileSystemWatcher"]; ...

Top 50 recent answers are included