# Integrate SAS with R

Combine R language functions with SAS through various code libraries.

These packages allow you to:

- Load, import, and profile data using an integrated development environment (IDE) or REST APIs.
- Cleanse, prepare, and transform your data.
- Use functions to manage and provide governance for data assets and their relationships.

## R SWAT

The SAS Scripting Wrapper for Analytics Transfer (SWAT) package is the R client to SAS Cloud Analytic Services (CAS). It allows users to execute CAS actions and process the results all from R.

## R-sasctl

r-sasctl provides tools for easy access of SAS Viya APIs from an R perspective, facilitating model management.

## SAS/IML software and R

Interactive matrix language (IML) is a programming language for statistical computations, focusing on algorithms using matrices and vectors. SAS/IML configures the SAS system so that you can call functions such as transferring data to R, calling R functions from PROC IML, and writing the results from R to several SAS data structures, all in the R language.