How can I install "drc"package? I am having problems...

Hello, everyone! I already saw an older post about problems to install the drc package, but unfortunately that post didn't help me.

I am trying to install "drc" package, that is about dose-response analysis, and I can't. I am writing the error message below. If someone can helpe me, I'd appreciate.

I apologize for my bad english.

install.packages("drc")
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:

https://cran.rstudio.com/bin/windows/Rtools/
also installing the dependencies ‘clipr’, ‘BH’, ‘purrr’, ‘rlang’, ‘rematch’, ‘forcats’, ‘hms’, ‘readr’, ‘tidyselect’, ‘cellranger’, ‘progress’, ‘zip’, ‘stringi’, ‘SparseM’, ‘MatrixModels’, ‘sp’, ‘haven’, ‘curl’, ‘readxl’, ‘openxlsx’, ‘minqa’, ‘nloptr’, ‘statmod’, ‘RcppEigen’, ‘zoo’, ‘carData’, ‘abind’, ‘pbkrtest’, ‘quantreg’, ‘maptools’, ‘rio’, ‘lme4’, ‘mvtnorm’, ‘TH.data’, ‘sandwich’, ‘car’, ‘gtools’, ‘multcomp’, ‘plotrix’

tentando a URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/clipr_0.7.0.zip'
Content type 'application/zip' length 51714 bytes (50 KB)
downloaded 50 KB

tentando a URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/BH_1.72.0-3.zip'
Content type 'application/zip' length 18270708 bytes (17.4 MB)
downloaded 17.4 MB

tentando a URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/purrr_0.3.4.zip'
Content type 'application/zip' length 426665 bytes (416 KB)
downloaded 416 KB

tentando a URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/rlang_0.4.6.zip'
Content type 'application/zip' length 1114217 bytes (1.1 MB)
downloaded 1.1 MB

tentando a URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/rematch_1.0.1.zip'
Content type 'application/zip' length 16087 bytes (15 KB)
downloaded 15 KB

tentando a URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/forcats_0.5.0.zip'
Content type 'application/zip' length 356013 bytes (347 KB)
downloaded 347 KB

tentando a URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/hms_0.5.3.zip'
Content type 'application/zip' length 107223 bytes (104 KB)
downloaded 104 KB

tentando a URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/readr_1.3.1.zip'
Content type 'application/zip' length 1723025 bytes (1.6 MB)
downloaded 1.6 MB

tentando a URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/tidyselect_1.1.0.zip'
Content type 'application/zip' length 202875 bytes (198 KB)
downloaded 198 KB

tentando a URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/cellranger_1.1.0.zip'
Content type 'application/zip' length 103587 bytes (101 KB)
downloaded 101 KB

tentando a URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/progress_1.2.2.zip'
Content type 'application/zip' length 85157 bytes (83 KB)
downloaded 83 KB

tentando a URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/zip_2.0.4.zip'
Content type 'application/zip' length 815231 bytes (796 KB)
downloaded 796 KB

tentando a URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/stringi_1.4.6.zip'
Content type 'application/zip' length 15217051 bytes (14.5 MB)
downloaded 14.5 MB

tentando a URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/SparseM_1.78.zip'
Content type 'application/zip' length 1065885 bytes (1.0 MB)
downloaded 1.0 MB

tentando a URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/MatrixModels_0.4-1.zip'
Content type 'application/zip' length 440114 bytes (429 KB)
downloaded 429 KB

tentando a URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/sp_1.4-1.zip'
Content type 'application/zip' length 1889149 bytes (1.8 MB)
downloaded 1.8 MB

tentando a URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/haven_2.2.0.zip'
Content type 'application/zip' length 1228773 bytes (1.2 MB)
downloaded 1.2 MB

tentando a URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/curl_4.3.zip'
Content type 'application/zip' length 4126336 bytes (3.9 MB)
downloaded 3.9 MB

tentando a URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/readxl_1.3.1.zip'
Content type 'application/zip' length 1708822 bytes (1.6 MB)
downloaded 1.6 MB

tentando a URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/openxlsx_4.1.5.zip'
Content type 'application/zip' length 2845156 bytes (2.7 MB)
downloaded 2.7 MB

tentando a URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/minqa_1.2.4.zip'
Content type 'application/zip' length 853709 bytes (833 KB)
downloaded 833 KB

tentando a URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/nloptr_1.2.2.1.zip'
Content type 'application/zip' length 1244063 bytes (1.2 MB)
downloaded 1.2 MB

tentando a URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/statmod_1.4.34.zip'
Content type 'application/zip' length 281241 bytes (274 KB)
downloaded 274 KB

tentando a URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/RcppEigen_0.3.3.7.0.zip'
Content type 'application/zip' length 2879518 bytes (2.7 MB)
downloaded 2.7 MB

tentando a URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/zoo_1.8-8.zip'
Content type 'application/zip' length 1093387 bytes (1.0 MB)
downloaded 1.0 MB

tentando a URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/carData_3.0-3.zip'
Content type 'application/zip' length 1816889 bytes (1.7 MB)
downloaded 1.7 MB

tentando a URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/abind_1.4-5.zip'
Content type 'application/zip' length 63698 bytes (62 KB)
downloaded 62 KB

tentando a URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/pbkrtest_0.4-8.6.zip'
Content type 'application/zip' length 274483 bytes (268 KB)
downloaded 268 KB

tentando a URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/quantreg_5.55.zip'
Content type 'application/zip' length 1843253 bytes (1.8 MB)
downloaded 1.8 MB

tentando a URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/maptools_1.0-1.zip'
Content type 'application/zip' length 2166145 bytes (2.1 MB)
downloaded 2.1 MB

tentando a URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/rio_0.5.16.zip'
Content type 'application/zip' length 504875 bytes (493 KB)
downloaded 493 KB

tentando a URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/lme4_1.1-23.zip'
Content type 'application/zip' length 5952769 bytes (5.7 MB)
downloaded 5.7 MB

tentando a URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/mvtnorm_1.1-0.zip'
Content type 'application/zip' length 267521 bytes (261 KB)
downloaded 261 KB

tentando a URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/TH.data_1.0-10.zip'
Content type 'application/zip' length 8487516 bytes (8.1 MB)
downloaded 8.1 MB

tentando a URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/sandwich_2.5-1.zip'
Content type 'application/zip' length 1380577 bytes (1.3 MB)
downloaded 1.3 MB

tentando a URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/car_3.0-7.zip'
Content type 'application/zip' length 1549529 bytes (1.5 MB)
downloaded 1.5 MB

tentando a URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/gtools_3.8.2.zip'
Content type 'application/zip' length 336236 bytes (328 KB)
downloaded 328 KB

tentando a URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/multcomp_1.4-13.zip'
Content type 'application/zip' length 735925 bytes (718 KB)
downloaded 718 KB

tentando a URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/plotrix_3.7-8.zip'
Content type 'application/zip' length 1134284 bytes (1.1 MB)
downloaded 1.1 MB

tentando a URL 'https://cran.rstudio.com/bin/windows/contrib/4.0/drc_3.0-1.zip'
Content type 'application/zip' length 920410 bytes (898 KB)
downloaded 898 KB

package ‘clipr’ successfully unpacked and MD5 sums checked
Error in install.packages : ERROR: failed to lock directory ‘C:\Program Files\R\R-4.0.0\library’ for modifying
Try removing ‘C:\Program Files\R\R-4.0.0\library/00LOCK’

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

Have you tried following the instructions on the error message?

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