Last answered:

23 Feb 2023

Posted on:

31 Jan 2021

0

reshape2 error - melt function needed

Why it is showing "Error in library("reshape2") : there is no package called 'reshape2'".
Thanks

2 answers ( 0 marked as helpful)
Instructor
Posted on:

01 Feb 2021

4

Hi Klaudyna,
thanks for reaching out!
It's possible you're receiving the error if the library isn't installed. So, the first time you're using a certain library you should installed with:

install.packages("reshape2")

This is done only the first time you're using the library.
Then you can run your code as usual, accessing the library with:

library("reshape2")

Hope this helps!

Best,
365 Eli

Super learner
This user is a Super Learner. To become a Super Learner, you need to reach Level 8.
Posted on:

23 Feb 2023

0

Thanks for your reply

I had the same issue.

Submit an answer