To cite in publications use:

Hankin RKS (2006). “Additive integer partitions in R.” Journal of Statistical Software, Code Snippets, 16.

Corresponding BibTeX entry:

  @Article{,
    title = {Additive integer partitions in R},
    author = {R. K. S. Hankin},
    journal = {Journal of Statistical Software, Code Snippets},
    year = {2006},
    month = {May},
    volume = {16},
    issue = {1},
  }