R 编程 - 包太多

R Programming - Too Many Packages

自从我开始使用 R 编程已经一个月了,它与其他统计编程语言的区别之一是庞大的包支持基础。

然而,最近我意识到同一个任务有不同的包。这对我提出了有关有效使用包的问题。

总而言之,我对 R 编程中的包有以下疑问:

期待answers/comments,谢谢。

超过13000个包,如何选择提供有用功能的正确包?

Generally speaking if the package solves your problem then it is the right package to use.

是否所有的软件包都得到了新功能和可能的错误的积极支持?

No, though if the package is in CRAN it is likely to be under active development if only minimally so.

像我这样的 R 新手,可能会发现最初很难获得正确的包。如何避免这种情况?

"Correct" package is ambiguous, see point #1. Stick to popular packages, read articles on R programming and most importantly talk to other R programmers to learn about new packages.

包开发人员是否确保可能已经有解决相同问题的包?这可能有助于避免多个包执行相同的任务。

No. Everyone has their way of doing things. Find a package that solves your problem and fits with your coding style and run with it.
--For example, I am not a tidyverse user, sometimes I use a function here or there but it is not part of by daily/usual workflow. There's nothing wrong with the package but its style of programming is not intuitive to me so I stay away it as best I can.

在这里您可以找到包含更多使用包的列表:

但是当你学习任何计算机语言时,你必须先学习你需要使用的东西。

在这里您可以找到一个可视化 CRAN 下载的应用程序: https://github.com/hadley/cran-downloads