Error Message with no reason

install.packages("tidyverse")
install.packages("palmerpenguins")
install.packages("ggplot2")

library(tidyverse)
library(ggplot2)
library(palmerpenguins)

head (palmerpenguins)
Error in head(palmerpenguins) : object 'palmerpenguins' not found

I think you mean

library(palmerpenguins)
head(penguins)

The dataset in palmerpenguins is called penguins, not palmerpenguins. Just switch the name and you are good to go.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.