Part 7: How do you learn R from zero? · Module 15
Adding CNA's tools to R
How Do You Install the CNA Package?
R doesn't know how to do Coincidence Analysis straight out of the box. You teach it by installing the cna package, a free add-on published on CRAN, the official R software library. You install it once , then load it at the start of every session .
install.packages() is like buying a tool and putting it in the cupboard. You do it once. library() is taking the tool back out of the cupboard, which you do at the start of every session. Forgetting library(cna) is the single most common beginner stumble, and now it won't be yours.
What You Will Be Able to Do
- Install the cna package once.
- Load it at the start of every session.
- Explain the install-once, library-every-time pattern.