background picture with networks
Module 1 | Lesson 11

Manage libraries efficiently

Packages are a vital component of the R ecosystem, serving as the cornerstone for enhancing the base language.

In this section, we delve into the essential best practices for efficiently utilizing these packages.

Members only
3 minutes read

1️⃣ Do you really need a package?

Using a package also means you rely on somebody's else code.

If the code has errors, you will insert errors in your analysis. If the package functions are updated, your code might not work anymore. If the package loads 1000 dependencies, so will your analysis.

So make sure to select only well-maintained and widely-used packages.

You can evaluate the credibility of a package by looking at the number of downloads, last update date, and the number of stars on github.

2️⃣ Load at the start

Always load your packages at the beginning of your script.

background picture with networks
Productive R Workflow

This lesson is not ready yet! 🙃
Become a member now: you'll be the first accessing it, at a very preferential price.

Or Login

← Previous

Use shortcuts

Next →

What is a notebook?