write_sas: Write SAS files

View source: R/haven-sas.R

write_sasR Documentation

Write SAS files

Description

[Deprecated]

write_sas() creates sas7bdat files. Unfortunately the SAS file format is complex and undocumented, so write_sas() is unreliable and in most cases SAS will not read files that it produces.

write_xpt() writes files in the open SAS transport format, which has limitations but will be reliably read by SAS.

Usage

write_sas(data, path)

Arguments

data

Data frame to write.

path

Path to file where the data will be written.


haven documentation built on May 29, 2024, 10:05 a.m.