asciiSetupReader: Reads Fixed-Width ASCII Data Files (.txt or .dat) that Have Accompanying Setup Files (.sps or .sas)

Lets you open a fixed-width ASCII file (.txt or .dat) that has an accompanying setup file (.sps or .sas). These file combinations are sometimes referred to as .txt+.sps,, .dat+.sps, or This will only run in a txt-sps or txt-sas pair in which the setup file contains instructions to open that text file. It will NOT open other text files, .sav, .sas, or .por data files. Fixed-width ASCII files with setup files are common in older (pre-2000) government data.

Version: 2.5.1
Depends: R (≥ 3.1.0)
Imports: data.table, haven, readr, vroom, stringr, zoo, shiny (≥ 0.13), miniUI (≥ 0.1.1), rstudioapi (≥ 0.5)
Suggests: covr, knitr, rmarkdown, testthat (≥ 2.1.0)
Published: 2023-07-05
DOI: 10.32614/CRAN.package.asciiSetupReader
Author: Jacob Kaplan ORCID iD [aut, cre]
Maintainer: Jacob Kaplan <jkkaplan6 at>
License: MIT + file LICENSE
NeedsCompilation: no
Language: en-US
Materials: README NEWS
CRAN checks: asciiSetupReader results


Reference manual: asciiSetupReader.pdf
Vignettes: Introduction to asciiSetupReader
Making an .sps file
Parsing an .sps or .sas file


Package source: asciiSetupReader_2.5.1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): asciiSetupReader_2.5.1.tgz, r-oldrel (arm64): asciiSetupReader_2.5.1.tgz, r-release (x86_64): asciiSetupReader_2.5.1.tgz, r-oldrel (x86_64): asciiSetupReader_2.5.1.tgz
Old sources: asciiSetupReader archive

Reverse dependencies:

Reverse imports: psidread


Please use the canonical form to link to this page.