Top

How to write an R package

March 5, 2019

Via: InfoWorld

When you see “R package,” you may think “Something to share with other people.” But an R package can also be a good way to organize your own work just for yourself. And especially your future self.

R packages give you a consistent structure, so you’re more likely to refactor code into functions. And, at least as important: Packages give you a consistent way to document each one of your functions. So, next year, there’s a better chance you’ll remember which parts of your code do what.

Read More on InfoWorld