I am in the middle of a lesson in R and we are using the palmerpenguins dataset and the topic is how to pull up different variations of summarized data from a dataset (specifically glimpse(), skim_without_charts(), head(), and select().
As instructed the following packages were loaded in (via install.packages("") and then library()); "skimr", "dplyr", "janitor", and "here". And the packages; "tidyverse", "lubridate" from an earlier lesson. The dataset palmerpenguins has also already been added.
My issue is that I can't get glimpse(), or skim_without_charts() to work unless I go through the install.package() process with the related package in between each. For example, the code I had added in for this activity is:
install.packages("here")
library("here")
install.packages("skimr")
library("skimr")
install.packages("janitor")
library("janitor")
install.packages("dplyr")
library("dplyr")
install.packages("palmerpenguins")
library(palmerpenguins)
skim_without_charts(penguins)
**Error in skim_without_charts(penguins) : **
** could not find function "skim_without_charts"
install.packages("skimr")
install.packages("palmerpenguins")
library("skimr")
library("palmerpenguins")
skim_without_charts(penguins)
**SUCCESS - Data removed to save room on this forum post
glimpse(penguins)
**Error in glimpse(penguins) : could not find function "glimpse"
install.packages("dplyr")
library("dplyr")
install.packages("palmerpenguins")
library("palmerpenguins")
glimpse(penguins)
*SUCCESS - Data removed to save room on this forum post
In summation: I don't understand if I will always have to reload or install.packages() and library() in between skim_without_charts() and glimpse() types or if I am misunderstanding a piece of this puzzle. S.O.S.