1

In a thesis, when referring to an R package (a statistical software), how should I write it?

Should it be italicized/treated like a title?

Or just like any other word. The package name is not a "normal word" so it seems out of place to just write it like

"...using the R package XYZ."

  • 1
    Why not using the convention employed in the R documentation (package names are typeset with a bold font)? – Massimo Ortolano Jan 1 '18 at 21:52
  • 1
    Also remember to include what version of R and package you used. – Frank FYC Jan 1 '18 at 22:00
  • You may be overthinking this. I think the text version is okay. You may or may not emphasise the package name but the reader will get that it is a R package from the sentence, so the rest is a question how you like it better yourself. – allo Feb 2 '18 at 9:39
-1

Use the citation function and inside the function use the argument package and then put the name of the package you wish to cite in quotations. Below is an example of the code.

citation(package = "NAME OF PACKAGE HERE")

You can copy the output to place in your document in the references.

For in-text citations, you can follow APA recommendations for citing software. Below is an example

  • The Foo package was used in the analysis (Version number; Author last name, year).
  • 1
    The question isn't about how to cite the package, it's about how to format the name of the package when referring to it in text. e.g.: "We use the foo package to parse the data and..." – ff524 Jan 2 '18 at 1:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.