To cite package ‘foreign’ in publications use:

R Core Team (2026). foreign: Read Data Stored by 'Minitab', 'S', 'SAS', 'SPSS', 'Stata', 'Systat', 'Weka', 'dBase', .... R package version 0.8-91, https://CRAN.R-project.org/package=foreign.

Corresponding BibTeX entry:

  @Manual{,
    title = {foreign: Read Data Stored by 'Minitab', 'S', 'SAS',
      'SPSS', 'Stata', 'Systat', 'Weka', 'dBase', ...},
    author = {{R Core Team}},
    year = {2026},
    note = {R package version 0.8-91},
    url = {https://CRAN.R-project.org/package=foreign},
  }