Problemi di installazione pacchetti

I can't install the packages on R Studio and I don't know why.
I also tried running as administrator.

Can you help me please?

> install.packages(c("car", "leaps", "lmtest", "moments", "readxl", "tseries"))
Installing packages into ‘C:/Users/Barbara/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
also installing the dependencies ‘ellipsis’, ‘clipr’, ‘BH’, ‘purrr’, ‘digest’, ‘forcats’, ‘readr’, ‘tidyselect’, ‘zip’, ‘stringi’, ‘assertthat’, ‘glue’, ‘utf8’, ‘vctrs’, ‘magrittr’, ‘SparseM’, ‘MatrixModels’, ‘sp’, ‘haven’, ‘curl’, ‘data.table’, ‘openxlsx’, ‘minqa’, ‘nloptr’, ‘RcppEigen’, ‘rematch’, ‘cli’, ‘crayon’, ‘fansi’, ‘pillar’, ‘pkgconfig’, ‘rlang’, ‘hms’, ‘prettyunits’, ‘R6’, ‘xts’, ‘TTR’, ‘carData’, ‘abind’, ‘pbkrtest’, ‘quantreg’, ‘maptools’, ‘rio’, ‘lme4’, ‘zoo’, ‘cellranger’, ‘Rcpp’, ‘tibble’, ‘progress’, ‘quadprog’, ‘quantmod’


  There is a binary version available but the source version is later:
     binary source needs_compilation
Rcpp  1.0.3  1.0.4              TRUE

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/ellipsis_0.3.0.zip'
Content type 'application/zip' length 44551 bytes (43 KB)
downloaded 43 KB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/clipr_0.7.0.zip'
Content type 'application/zip' length 52077 bytes (50 KB)
downloaded 50 KB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/BH_1.72.0-3.zip'
Content type 'application/zip' length 18270741 bytes (17.4 MB)
downloaded 17.4 MB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/purrr_0.3.3.zip'
Content type 'application/zip' length 425620 bytes (415 KB)
downloaded 415 KB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/digest_0.6.25.zip'
Content type 'application/zip' length 249482 bytes (243 KB)
downloaded 243 KB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/forcats_0.5.0.zip'
Content type 'application/zip' length 356355 bytes (348 KB)
downloaded 348 KB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/readr_1.3.1.zip'
Content type 'application/zip' length 1562889 bytes (1.5 MB)
downloaded 1.5 MB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/tidyselect_1.0.0.zip'
Content type 'application/zip' length 244673 bytes (238 KB)
downloaded 238 KB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/zip_2.0.4.zip'
Content type 'application/zip' length 443298 bytes (432 KB)
downloaded 432 KB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/stringi_1.4.6.zip'
Content type 'application/zip' length 15310634 bytes (14.6 MB)
downloaded 14.6 MB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/assertthat_0.2.1.zip'
Content type 'application/zip' length 54922 bytes (53 KB)
downloaded 53 KB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/glue_1.3.2.zip'
Content type 'application/zip' length 153935 bytes (150 KB)
downloaded 150 KB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/utf8_1.1.4.zip'
Content type 'application/zip' length 215232 bytes (210 KB)
downloaded 210 KB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/vctrs_0.2.4.zip'
Content type 'application/zip' length 1026941 bytes (1002 KB)
downloaded 1002 KB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/magrittr_1.5.zip'
Content type 'application/zip' length 157574 bytes (153 KB)
downloaded 153 KB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/SparseM_1.78.zip'
Content type 'application/zip' length 1070197 bytes (1.0 MB)
downloaded 1.0 MB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/MatrixModels_0.4-1.zip'
Content type 'application/zip' length 356876 bytes (348 KB)
downloaded 348 KB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/sp_1.4-1.zip'
Content type 'application/zip' length 1878712 bytes (1.8 MB)
downloaded 1.8 MB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/haven_2.2.0.zip'
Content type 'application/zip' length 1045338 bytes (1020 KB)
downloaded 1020 KB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/curl_4.3.zip'
Content type 'application/zip' length 4129210 bytes (3.9 MB)
downloaded 3.9 MB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/data.table_1.12.8.zip'
Content type 'application/zip' length 2276501 bytes (2.2 MB)
downloaded 2.2 MB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/openxlsx_4.1.4.zip'
Content type 'application/zip' length 2573252 bytes (2.5 MB)
downloaded 2.5 MB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/minqa_1.2.4.zip'
Content type 'application/zip' length 675473 bytes (659 KB)
downloaded 659 KB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/nloptr_1.2.2.1.zip'
Content type 'application/zip' length 1078898 bytes (1.0 MB)
downloaded 1.0 MB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/RcppEigen_0.3.3.7.0.zip'
Content type 'application/zip' length 2676259 bytes (2.6 MB)
downloaded 2.6 MB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/rematch_1.0.1.zip'
Content type 'application/zip' length 16114 bytes (15 KB)
downloaded 15 KB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/cli_2.0.2.zip'
Content type 'application/zip' length 398241 bytes (388 KB)
downloaded 388 KB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/crayon_1.3.4.zip'
Content type 'application/zip' length 750041 bytes (732 KB)
downloaded 732 KB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/fansi_0.4.1.zip'
Content type 'application/zip' length 223895 bytes (218 KB)
downloaded 218 KB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/pillar_1.4.3.zip'
Content type 'application/zip' length 184511 bytes (180 KB)
downloaded 180 KB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/pkgconfig_2.0.3.zip'
Content type 'application/zip' length 22307 bytes (21 KB)
downloaded 21 KB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/rlang_0.4.5.zip'
Content type 'application/zip' length 1130303 bytes (1.1 MB)
downloaded 1.1 MB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/hms_0.5.3.zip'
Content type 'application/zip' length 109609 bytes (107 KB)
downloaded 107 KB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/prettyunits_1.1.1.zip'
Content type 'application/zip' length 37617 bytes (36 KB)
downloaded 36 KB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/R6_2.4.1.zip'
Content type 'application/zip' length 59297 bytes (57 KB)
downloaded 57 KB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/xts_0.12-0.zip'
Content type 'application/zip' length 966108 bytes (943 KB)
downloaded 943 KB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/TTR_0.23-6.zip'
Content type 'application/zip' length 521992 bytes (509 KB)
downloaded 509 KB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/carData_3.0-3.zip'
Content type 'application/zip' length 1817853 bytes (1.7 MB)
downloaded 1.7 MB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/abind_1.4-5.zip'
Content type 'application/zip' length 63845 bytes (62 KB)
downloaded 62 KB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/pbkrtest_0.4-8.6.zip'
Content type 'application/zip' length 275895 bytes (269 KB)
downloaded 269 KB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/quantreg_5.54.zip'
Content type 'application/zip' length 1782322 bytes (1.7 MB)
downloaded 1.7 MB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/maptools_0.9-9.zip'
Content type 'application/zip' length 2171324 bytes (2.1 MB)
downloaded 2.1 MB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/rio_0.5.16.zip'
Content type 'application/zip' length 505273 bytes (493 KB)
downloaded 493 KB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/lme4_1.1-21.zip'
Content type 'application/zip' length 5684756 bytes (5.4 MB)
downloaded 5.4 MB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/zoo_1.8-7.zip'
Content type 'application/zip' length 1106986 bytes (1.1 MB)
downloaded 1.1 MB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/cellranger_1.1.0.zip'
Content type 'application/zip' length 104937 bytes (102 KB)
downloaded 102 KB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/tibble_2.1.3.zip'
Content type 'application/zip' length 337452 bytes (329 KB)
downloaded 329 KB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/progress_1.2.2.zip'
Content type 'application/zip' length 85392 bytes (83 KB)
downloaded 83 KB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/quadprog_1.5-8.zip'
Content type 'application/zip' length 54859 bytes (53 KB)
downloaded 53 KB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/quantmod_0.4-16.zip'
Content type 'application/zip' length 964927 bytes (942 KB)
downloaded 942 KB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/car_3.0-7.zip'
Content type 'application/zip' length 1556199 bytes (1.5 MB)
downloaded 1.5 MB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/leaps_3.1.zip'
Content type 'application/zip' length 111494 bytes (108 KB)
downloaded 108 KB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/lmtest_0.9-37.zip'
Content type 'application/zip' length 363237 bytes (354 KB)
downloaded 354 KB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/moments_0.14.zip'
Content type 'application/zip' length 56559 bytes (55 KB)
downloaded 55 KB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/readxl_1.3.1.zip'
Content type 'application/zip' length 1524529 bytes (1.5 MB)
downloaded 1.5 MB

provo con l'URL 'https://cran.rstudio.com/bin/windows/contrib/3.6/tseries_0.10-47.zip'
Content type 'application/zip' length 417592 bytes (407 KB)
downloaded 407 KB

Error in install.packages : cannot open file 'C:/Users/Barbara/Documents/R/win-library/3.6/file73786c037a58/ellipsis/DESCRIPTION': Permission denied

Try running RStudio as administrator or double check your write permissions on that folder.

Note: Please try to make your questions in English, since it is the preferred language here and by using other language you are excluding most people from the conversation, thus lowering your chances of getting help.

1 Like

Yes, sure! I have edited my question.
Thank you for the advice!

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