Here are a few reminders and some things to be on the look-out for in Chapter 2.
library(PACKAGE_NAME)
, you’ll be loading a new package into your R session. Packages need to be installed before they can be loaded, so if you see a package whose name looks new to you or you get an error stating that there is no packaged called PACKAGE_NAME
you’ll want to run install.packages("PACKAGE_NAME")
and then retry running library(PACKAGE_NAME)
.library()
command.readr
, dplyr
, ggplot2
, stringr
) which are part of the tidyverse
. There are advantages to loading the packages separately, but we aren’t doing anything that would observe a benefit. You can load all of the tidyverse
packages at the beginning of your R Session by running library(tidyverse)
.wordcloud
and reshape2
. Be sure to install them before you load them.gutenbergr
package is no longer functioning – an update should be made to that package soon to change the default mirror. In the meantime, you’ll still need to access the Project Gutenberg files from a different mirror – for example, we’ve been using the mirror site "http://mirrors.xmission.com/gutenberg"
.That’s all for now. Post questions you have in Slack and/or bring them with you to our Thursday live meeting.