R: install.packages() failed in Anaconda

51 views Asked by At

1. Situation: I bought a new laptop, and I installed anaconda

2. Problem

enter image description here

[also installing the dependencies 'cli', 'glue', 'lifecycle', 'pillar', 'rlang', 'tibble', 'tidyselect', 'vctrs'

Warning message: "unable to access index for repository https://cran.r-project.org/bin/windows/contrib/3.6: URL 'https://cran.r-project.org/bin/windows/contrib/3.6/PACKAGES'를 열 수 없습니다"Packages which are only available in source form, and may need compilation of C/C++/Fortran: 'cli' 'glue' 'rlang' 'tibble' 'tidyselect' 'vctrs' 'dplyr'

These will not be installed

installing the source packages 'lifecycle', 'pillar'

Warning message in install.packages("dplyr"): "installation of package 'lifecycle' had non-zero exit status"Warning message in install.packages("dplyr"): "installation of package 'pillar' had non-zero exit status"]

I can't download any packages 'tidyverse', 'dplyr' and so on.

3. I tried

-repos='https://cran.r-project.org/'

-Add environment variables(Path) to the system

-delete anaconda and re-install

How can I resolve this? For your information, I am Korean, and Korean is not included in the Path.

0

There are 0 answers