WPS Interop For R

SAS Language Modules

Use the Languages of SAS and R Together

The WPS Interop for R module lets you mix the language of R into your SAS programs. Sections of your program written in R together with data will be sent automatically to your R environment for execution.

Why Interoperate?

Being able to use the language of R together with the SAS language offers the best of both worlds: the high productivity, scalability, robust data handling and industrial analytics strength of the SAS language together with novel and emerging academic statistics from the R ecosystem.

R Procedure

The R procedure included with WPS Interop for R allows you to inline or include R programs directly in a SAS program. When the SAS program is executed, WPS runs the SAS language syntax itself and interoperates with your chosen installed R environment for the execution of the R statements.

When WPS executes a program file that contains R syntax, the output and log information generated by the R environment are automatically returned back to WPS and can be viewed seamlessly using the WPS Workbench GUI.

The R procedure also provides a simple and efficient way to exchange data between the SAS and R language environments.

Dependencies and Usage

WPS Interop for R is supported in WPS version 3.1 and above.

A third party R environment must be present in addition to WPS software in order to run the R procedure.

The R environment must be installed on the same computer on which WPS is installed and executed.

WPS Interop for R can be used on platforms where third party R environments are supported including Windows and Linux.

More Information

The documents listed below provide details about the supported language syntax.

R Procedure Description
WPS-Proc-R-User-Guide-Syntax-Diagram.pdf (520 KB) User guide and lookup for the language support in the WPS Interop for R module (SYNTAX DIAGRAM version)


Other SAS language modules

WPS Core

Support for core language, macros, output and standard data file formats (datasets, sequential files, transport files)

WPS Graphing

Graphing and charting language support

WPS Statistics

Statistical analysis language support

WPS Time Series

Time Series analysis language support

WPS Matrix Programming

Language syntax for advanced matrix manipulation

WPS Machine Learning

Language support for machine learning algorithms

WPS Interop For R

Language of R support

WPS Interop For Python

Language of Python support

WPS Interop For Hadoop

Language support to interact with Hadoop big data environments

WPS Communicate

Programatically execute parts of a script on remote server installations of WPS and upload/download data to/from the remote servers

WPS Language SDK

Develop your own custom SAS language items

Have a question?

Get in touch with our sales team

Try or buy

Standard Edition
Academic Edition
Community Edition