Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I determine the author of an R package?

Tags:

r

How can I determine who the authors of a package are? Given that we have this widely used code base, I think it is appropriate that I make a reference to the software I use in my analysis.

Is there a way to programmatically retrieve the author and any other relevant information?

In pseudocode, I want to do the following:

references("base")

How can I do that?

like image 610
Andrie Avatar asked Feb 17 '12 08:02

Andrie


People also ask

Who developed R package?

R was first implemented in the early 1990's by Robert Gentleman and Ross Ihaka, both faculty members at the University of Auckland. Robert and Ross established R as an open source project in 1995. Since 1997, the R project has been managed by the R Core Group. And in February 2000, R 1.0.

What are R packages written in?

So in conclusion: while R itself is mostly written in C (with hefty chunks in R and Fortran), R packages are mostly written in R (with hefty chunks written in C/C++).

How do you get documentation of an installed and loaded R package?

Besides finding the DESCRIPTION files such as cran.r-project.org or stat.ethz.ch, you can also access the description file inside R with the command packageDescription("package") , via the documentation of the package help(package = "package") , or online in the repository of the package.


1 Answers

To be able to cite R or a package, use citation.

citation()        #for base packages or R itself
citation("nlme")
like image 84
Richie Cotton Avatar answered Sep 29 '22 10:09

Richie Cotton