Error in installing modeest package

Hi, I've tried to install "modeest" package but had this error. Could you help me out, please?

install.packages("modeest", lib="C:/Program Files/R/R-4.1.2/library")
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.1/modeest_2.4.0.zip'
Content type 'application/zip' length 143766 bytes (140 KB)
downloaded 140 KB

package ‘modeest’ successfully unpacked and MD5 sums checked

The downloaded binary packages are in
C:\Users\burak\AppData\Local\Temp\Rtmp65Fqcp\downloaded_packages

The message is telling you that the installation was successful.

But when I try to import the library, I got this

"library(moodest)
Error in library(moodest) : there is no package called ‘moodest’"

What happens if you restart RStudio and try again?

The spelling is important:
library(modeest)

2 Likes

thanks a lot! My bad :slight_smile: