R引用哪一年引用?

Mat*_*ert 5 r citations

大部分时间我的R版本和软件包都是合理的最新版本.现在我想知道使用什么年份citation("somepackage").基本上所有套餐都是2012年.我怎样才能找到他们第一次出现时的真实日期?或者我应该引用最新版本?

Ari*_*man 6

医学领域的规范似乎是在文中引用这样的东西:

We used Stata version 9.2 (Stata Corporation, East Nowhere, Texas, 2006).
Run Code Online (Sandbox Code Playgroud)

该规范主张引用您实际使用的版本的年份.而且,在我看来,如果您希望后续作者能够复制您的结果,这是有道理的.

有一个完整的新兴领域正在试图弄清楚如何引用除了论文以外的其他东西(例如,参见Heather Piwowar的作品).如果你想要的R版本上有一篇Journal of Statistical Software文章(更有可能是软件包而不是基础R),你可以引用它.或者引用R Journal对相关版本的更新.


Dir*_*tel 5

为什么没有人提到显而易见的?citation()R 本身有一个命令:

edd@max:~$ R --silent -e 'citation()'
R> citation()

To cite R in publications use:

  R Core Team (2012). R: A language and environment for statistical computing. 
  R Foundation for Statistical Computing, Vienna, Austria.
  ISBN 3-900051-07-0, URL http://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 = {2012},
    note = {{ISBN} 3-900051-07-0},
    url = {http://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.

R> 
R> 
edd@max:~$ 
Run Code Online (Sandbox Code Playgroud)