| Literature DB >> 36048770 |
Jake Lawlor1,2, Francis Banville2,3,4, Norma-Rocio Forero-Muñoz2,3, Katherine Hébert2,4, Juan Andrés Martínez-Lanfranco5, Pierre Rogy6, A Andrew M MacDonald4.
Abstract
Entities:
Mesh:
Year: 2022 PMID: 36048770 PMCID: PMC9436135 DOI: 10.1371/journal.pcbi.1010372
Source DB: PubMed Journal: PLoS Comput Biol ISSN: 1553-734X Impact factor: 4.779
Fig 1Proficiency in R isn’t about never making mistakes, but becoming comfortable encountering and solving them when you do.
Examples of 3 styles of code, each changing an object (such as a data frame or a vector), using 2 verbs (functions that manipulate that object), and 2 arguments specifying those verbs (such as applying that function to only section X of the object).
If these look unintelligible to you, that’s okay! They are only meant to show that in R, there are different syntax strategies to complete the same tasks. If one looks more interpretable than the others, then great—you have found your coding style to begin!
| Sequential Syntax | Nested Syntax | Piped Syntax |
|---|---|---|
|
|
Fig 2Popularity of Twitter discussion for some common scientific programming languages.
While not as popular as #Python, #RStats appeared in around 1,000 tweets per day on average at the end of 2020. Solid lines show 7-day rolling averages; transparent dashed lines show daily tweet counts. Tweets were collected from September 1, 2020 to December 31, 2020, using the R package, academictwitteR [24]. We found a total of 124,852 Tweets with the #rstats hashtag, 303,388 with the #python hashtag, and 2,522 with the #julialang hashtag, within this 4-month period.