To cite package ‘MSG’ in publications use:

Xie Y, Zhao P (2026). MSG: Data and Functions for the Book Modern Statistical Graphics. R package version 0.9.1, https://github.com/yihui/msg.

Corresponding BibTeX entry:

  @Manual{,
    title = {MSG: Data and Functions for the Book Modern Statistical
      Graphics},
    author = {Yihui Xie and Peng Zhao},
    year = {2026},
    note = {R package version 0.9.1},
    url = {https://github.com/yihui/msg},
  }