前言:记录那些我遇到的关于R包的乱七八糟的错误:
1、报错“Warning: unable to access index for repository https://mirrors.bfsu.edu.cn/CRAN/src/contrib: cannot open URL 'https://mirrors.bfsu.edu.cn/CRAN/src/contrib/PACKAGES'”
解决方法:
> options(repos='http://cran.rstudio.com/') #把https换成http
> BiocManager::install("devtools")
2、读取CSV文件报错“Error in make.names(col.names, unique = TRUE) : invalid multibyte string 976”