after installing packages("dplyr"), there is still the error

I have install the packages dplyr before, but when I ran library, it said error.
So I installed the packages again but the problem still exist.

install.packages("dplyr")
Warning in install.packages("dplyr") :
'lib = "C:/Program Files/R/R-3.6.3/library"' is not writable
There is a binary version available but the source version is
later:
binary source needs_compilation
dplyr 0.8.4 0.8.5 TRUE
Binaries will be installed
trying URL 'https://mirror-hk.koddos.net/CRAN/bin/windows/contrib/3.6/dplyr_0.8.4.zip'
Content type 'application/zip' length 3221142 bytes (3.1 MB)
downloaded 3.1 MB
package ‘dplyr’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in
C:\Users\USER\AppData\Local\Temp\RtmpYl5g4L\downloaded_packages

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

Am I missing something and what can I do for it? Thanks for every answer.

This error is preventing dplyr from being installed. Do you have administrator rights on your computer? If so, you could try giving yourself permissions to that folder.

Thanks a lot!! I keep thinking there are some packages I forgot to install.
I can use the package now.

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