sss_1111 下载r包vcd时出现以下语句,r包“vcd”无法正常下载,希望得到帮助。谢谢大家。 install.packages("vcd") Warning in install.packages : unable to access index for repository https://cran.rstudio.com/src/contrib: cannot open URL 'https://cran.rstudio.com/src/contrib/PACKAGES' Warning in install.packages : unable to access index for repository http://www.stats.ox.ac.uk/pub/RWin/src/contrib: Line starting '<html> ...' is malformed! Installing package into ‘C:/Users/syq0116/Documents/R/win-library/3.4’ (as ‘lib’ is unspecified) Warning in install.packages : unable to access index for repository https://cran.rstudio.com/src/contrib: cannot open URL 'https://cran.rstudio.com/src/contrib/PACKAGES' Error in install.packages : unknown input format
tctcab 试了一下没问题,估计你需要换个镜像,参照 https://cran.r-project.org/mirrors.html 比如使用科大镜像 install.packages("vcd",repos = "http://mirrors.ustc.edu.cn/CRAN/")