OpenTemporary

As of Version 6.0, has been superseded by functionality in OpenWrite.


opens a temporary file to which output can be written, and returns an OutputStream object.

Details and OptionsDetails and Options

  • is often used in conjunction with Put and Get as a way of preparing data that is exchanged between Mathematica and external programs.
  • always creates a new file that does not already exist.
  • On Unix systems, typically creates a file in the directory.
  • The global variable $TemporaryPrefix gives the base of the file name used by .
Introduced in 1988
(1.0)