New in 9.0: Systems Interfaces & Deployment

Mathematica 9 introduced some key features for interfacing Mathematica to other systems. HTTP operations are supported with a range of functions for interacting with URLs and web sites, allowing synchronous and asynchronous interactions. Extensions to Mathematica streams allow them to be backed by data sources such as documents residing on web sites. A new toolkit for linking to the R statistical system enables users to integrate their R work with Mathematica.

ReferenceReference

HTTP Operations »

URLFetch fetch the contents of a URL as a string

URLSave save the contents of a URL to a file

URLFetchAsynchronous fetch the contents of a document with a background task

URLSaveAsynchronous save the contents of a document with a background task

$HTTPCookies the shared HTTP cookies used for connecting to web servers

Stream Operations

OpenRead (modified) — open an input stream from a data source such as a URL

Get (modified) read and evaluate Mathematica input from a stream

DefineInputStreamMethod define a custom input stream method

DefineOutputStreamMethod define a custom output stream method

Read ▪ Read ▪ Find ▪ FindList ▪ InputStream ▪ OutputStream

Asynchronous Tasks

AsynchronousTaskObject object representing an asynchronous task

StartAsynchronousTask resume an asynchronous task

StopAsynchronousTask stop an asynchronous task

StartAsynchronousTask resume an asynchronous task

WaitAsynchronousTask wait for an asynchronous task to complete

RemoveAsynchronousTask shut down an asynchronous task and remove it

AsynchronousTasks list active asynchronous tasks

R Link »

InstallR launch the R runtime and connect it to the Mathematica session

UninstallR uninstall the R runtime

REvaluate evaluate a string of R code

RSet assign the value to a variable in R workspace

RFunction define a function in R workspace

RVector ▪ RList ▪ RObject ▪ RCode ▪ RAttributes ▪ REnvironment

System Environment

GetEnvironment get the setting for an operating system environment variable

SetEnvironment set a value for an operating system environment variable

Text-Based Interface

Improved terminal interface with support of command history and cursor movements »

New to Mathematica? Find your learning path »
Have a question? Ask support »