Hi, I have an issue with updating the packages in RStudio. This is a bit awkward because I have been using RStudio for a while and is the first time that this issue comes around. First, a message related to Rtools indicating that it didn't available. Ok, I installed again. However, now this message appears when I am trying to update dplyr.
> install.packages("dplyr")
Installing package into ‘C:/Users/Usuario/Documents/R/win-library/3.4’
(as ‘lib’ is unspecified)
There is a binary version available but the source version is later:
binary source needs_compilation
dplyr 0.8.0.1 0.8.1 TRUE
Do you want to install from sources the package which needs compilation?
y/n: y
installing the source package ‘dplyr’
trying URL 'https://cran.rstudio.com/src/contrib/dplyr_0.8.1.tar.gz'
Content type 'application/x-gzip' length 1170671 bytes (1.1 MB)
downloaded 1.1 MB
ERROR: failed to lock directory 'C:/Users/Usuario/Documents/R/win-library/3.4' for modifying
Try removing 'C:/Users/Usuario/Documents/R/win-library/3.4/00LOCK-dplyr'
In R CMD INSTALL
Warning in install.packages :
running command '"C:/PROGRA~1/R/R-34~1.3/bin/x64/R" CMD INSTALL -l "C:\Users\Usuario\Documents\R\win-library\3.4" C:\Users\Usuario\AppData\Local\Temp\RtmpshJ4VQ/downloaded_packages/dplyr_0.8.1.tar.gz' had status 3
Warning in install.packages :
installation of package ‘dplyr’ had non-zero exit status
The downloaded source packages are in
‘C:\Users\Usuario\AppData\Local\Temp\RtmpshJ4VQ\downloaded_packages’
Please, can anyone help me with that? I will really appreciate any comment.
Regards