swcarpentry / r-novice-gapminder

R for Reproducible Scientific Analysis
http://swcarpentry.github.io/r-novice-gapminder/
Other
164 stars 538 forks source link

Make the difference between install and library more obvious #738

Open andr3wli opened 3 years ago

andr3wli commented 3 years ago

Hello SWC community, I would like to propose a change for the Introduction to R and Rstudio episode, specifically for the R packages section. I think there should be a greater emphasis on the difference between installing a package and loading a package. From personal experience, this was a bit confusing for me when I first started learning r. As well, I often see new learners get confused with this as well.

I propose to add this graphic (meme) by Dianne Cook (Monash University) into the section. I know we are not supposed to contribute extra material but I think adding this picture will not add much time to the lesson (this picture is truly worth a thousand words).

If y'all think this is worthwhile and ok, I can make a pull request to update the section!

jcoliver commented 3 years ago

The example of installing a light bulb vs. turning the light on seems quite accessible. If you're keen to submit a PR, we would be happy to take a look. Thanks, @andr3wli !