0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【R】引用情報を表示する

Last updated at Posted at 2024-08-01

はじめに

Rを論文などで使用した場合、引用文献としてRの情報を記載する必要があります。
つい先日にこの引用情報を取得できる関数があると知ったので、備忘録として記事をまとめてみました。

R本体の引用情報の表示

  • citation関数を実行するだけで、R本体の引用情報を表示することが可能です。
  • 単純なテキスト形式に加えて、引用文献の一覧の整形に使われるBibTeX形式も表示されます。
R本体の引用情報
> citation()

To cite R in publications use:

  R Core Team (2020). R: A language and environment for statistical
  computing. R Foundation for Statistical Computing, Vienna,
  Austria. URL https://www.R-project.org/.

A BibTeX entry for LaTeX users is

  @Manual{,
    title = {R: A Language and Environment for Statistical Computing},
    author = {{R Core Team}},
    organization = {R Foundation for Statistical Computing},
    address = {Vienna, Austria},
    year = {2020},
    url = {https://www.R-project.org/},
  }

We have invested a lot of time and effort in creating R, please cite
it when using it for data analysis. See also citation("pkgname")
for citing R packages.

パッケージの引用情報の表示

  • パッケージの引用情報を表示する方法は、citation関数の引数としてパッケージ名を渡すだけです。
パッケージの用情報
> citation("MASS")

To cite the MASS package in publications use:

  Venables, W. N. & Ripley, B. D. (2002) Modern Applied Statistics
  with S. Fourth Edition. Springer, New York. ISBN 0-387-95457-0

A BibTeX entry for LaTeX users is

  @Book{,
    title = {Modern Applied Statistics with S},
    author = {W. N. Venables and B. D. Ripley},
    publisher = {Springer},
    edition = {Fourth},
    address = {New York},
    year = {2002},
    note = {ISBN 0-387-95457-0},
    url = {https://www.stats.ox.ac.uk/pub/MASS4/},
  }

補足

  • 上記のcitation関数については、Rを起動した際に表示されるメッセージにも書かれていました。
    • 散々Rを使ってきたのに、起動時のメッセージは全く見ていなかったので気が付きませんでした...
    • @WolfMoon さん、ご指摘ありがとうございました。
R起動時のメッセージの一部分
R は多くの貢献者による共同プロジェクトです。 
詳しくは 'contributors()' と入力してください。 
また、R や R のパッケージを出版物で引用する際の形式については 
'citation()' と入力してください。 

参考URL

0
0
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?