SAS and R in Action: Comparison of XPT File Creation
September 24, 2025: 8:30 AM - 9:00 AM
Foundational Coding Skills (FCS), Breakout Room #8

Authors Abstract
Chen Ling SAS is a statistical software used for data analysis and the XPT (SAS Transport File) file format is a standardized way to present data which is widely accepted for clinical trial regulatory submissions. As more and more companies are exploring using R to generate statistical outputs for regulatory submission, there is a growing interest in using R to generate xpt files. However, due to the software setup difference between SAS and R, they handle dataset and variable level attribute differently. In this paper, we introduce the popular ways to assign these attributes in both SAS and R and provide comprehensive comparison of the process and output. Through practical examples, we will demonstrate how to ensure the exported datasets from SAS and R meet the requirement.