Hello world. I just wonder why, I have to install palmerpenguins besides tidyverse because I thought it (palmerpenguins) was inside that whole package (tidyverse) in exercise 6, page 62 from "R FOR DATA SCIENCE" - Hadley Wickham. I had to do this to complete the exercise:
the package palmerpenguins is not part of tidyverse (list of core and additional packages shipped with tidyverse can bee seen here https://tidyverse.tidyverse.org/) so you have to install the additional package to make it work.
palmerpenguins is the name of the package and penguins is the name of the variable inside the package holding the data (in this case a data frame).
Okay, thank you. The only thing that doesn't add up to me is, why was it only necessary to put this in the beginning without mentioning the package, just the library? Look:
We’ll use many packages from outside the tidyverse in this book. For example, we’ll use the following packages because they provide interesting datasets for us to work with in the process of learning R:
So you can see that the palmerpenguins and ggthemes are considered installed as per prerequisites. So it is assumed you did it already - thus there is no need to install them in later chapters
True! So, does it mean, (since book says) those are always in the IDE of RStudio (at least in my version)? And, if I see the error mentioned, for example: " #> Error in library(ggrepel) : there is no package called 'ggrepel' " , that is the moment when I have to write
install.packages('ggrepel')
(Maybe because there was a problem and it couldn't install it before)
I guess my version had installed palmerpenguins and then, a few days later it was erased (I don't know how ) Thanks!