Packages in RStudio

Hello everyone,

I'm a newbie to RStudio - taking a Google Analytics cert in Coursera. I'm trying to install the palmerpenguins in RStudio but getting this error - Warning in install.packages :
package ‘palmerpenguins0.1.1.tgz’ is not available for this version of R

Will someone help me figure out what version to use? I went to - see the ideas at
R Installation and Administration - which is where I found the 1.1.tgz version. Any advice is appreciated! Thank you!

Namaste,
Julie Breaux

You should run the command

install.packages("palmerpenguins")

Is that what you did?

Hello FJCC,

Yes - that is what I did.

Hello again,

I should mention this is on a Mac - does that change the version I can use?

Namaste,

Julie

The package version is not dependent on your operating system.

The warning message you posted shows palmerpenguins0.1.1.tgz.
What error do you get from running

install.packages("palmerpenguins")

What is the output of

sessionInfo()

This is the history -

install.packages("palmerpenquins")
Installing package into ‘/cloud/lib/x86_64-pc-linux-gnu-library/4.3’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘palmerpenquins’ is not available for this version of R

A version of this package for your version of R might be available elsewhere,
see the ideas at

library("palmerpenquins")
Error in library("palmerpenquins") :
there is no package called ‘palmerpenquins’
install.packages("palmerpenguins0.1.1.tgz")
Installing package into ‘/cloud/lib/x86_64-pc-linux-gnu-library/4.3’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘palmerpenguins0.1.1.tgz’ is not available for this version of R

A version of this package for your version of R might be available elsewhere,
see the ideas at

Making 'packages.html' ... done
Session restored from your saved work on 2024-Feb-17 19:09:59 UTC (36 minutes ago)

In the above example, you have misspelled palmerpenguins as palmerpenquins.

Try exactly

install.packages("palmerpenguins")

Hello -
I'm a Dork - thank you!!

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.