Connecting Mathematica® and SAS®
Now available in our store: M2SLinkBasic v1.0, Add-On for Mathematica®
Access SAS® data from your Wolfram® notebook.
M2SLinkBasic is an add-on for Mathematica® that enables you to import any SAS® data set into your Mathematica® notebook.
With M2SLink, you can:
Import any SAS data set (v7 or later) directly into your Mathematica notebook without having to use SAS transport files.
‣ Imported data is contained in a Mathematica list with a special structure,
which can be manipulated just like any other list in Mathematica.
‣ Built-in SAS formats as well as user-defined formats are fully supported.
‣ Date, time, and date-time values are automatically converted for you as
you transfer your data back and forth between Mathematica and SAS.
‣ Works with SAS Viya® Windows client.
‣ Import JMP® data tables.
Explore your data using M2SLink's unique Interactive Scatter Plot and Data Set Viewer.
M2SLinkBasic provides extra Wolfram notebooks which show you how to use Mathematica to create the most popular plots and charts for descriptive statistics using data imported from your SAS data sets. For examples, visit our Data Visualization page.
Windows® 64-bit operating system.
64-bit version of Mathematica® for Windows (e.g. v11).
64-bit version of SAS® for Windows (e.g., v9).
M2SLinkBasic requires the Windows® 64-bit operating system. There is no support for the Macintosh or Linux operating systems. It requires a 64-bit version of Mathematica® for Windows (e.g. v11) and a 64-bit version of SAS® for Windows (e.g., v9).
You must have access to the SAS executable and the proper permissions to run SAS. This is because M2SLinkBasic creates a non-interactive SAS session to service the requests you issue from your Mathematica notebook to import data. M2SLinkBasic uses the Wolfram Symbolic Transfer Protocol (WSTP) and the SAS Component Language (SCL) to connect Mathematica to SAS.
M2SLinkBasic will create a subdirectory named M2SLinkBasic in your Users Documents directory (C:\Users\<Your User Name>\Documents\M2SLink) which it will use for any temp files it needs and to preserve information between sessions. In order to run M2SLinkBasic, you must have create/read/write permissions enabled for your Users Documents directory (which is normally the case).
M2SLinkBasic uses the Windows Registry to preserve certain preferences you set. These preferences are stored in the Windows registry separately from any SAS or Mathematica registry data. In order to run M2SLinkBasic, you must have the proper permissions to modify the Windows Registry.
For more information, please visit our Downloads page, where you can find the complete M2SLinkBasic User Guide in PDF form.
To purchase a copy of M2SLinkBasic, visit our Shop page. Discounted pricing is available when you purchase multiple copies of M2SLinkBasic and for site licenses. Please contact us if you are interested: firstname.lastname@example.org
SAS® and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration.
Mathematica® is a registered trademark of Wolfram Research.