Entering edit mode
I tried twice,the first I installed in R:
BiocManager::install("GenomeInfoDbData")
trying URL 'https://mirrors.tuna.tsinghua.edu.cn/bioconductor//packages/3.14/data/annotation/src/contrib/GenomeInfoDbData_1.2.7.tar.gz'
Content type 'application/octet-stream' length 11193674 bytes (10.7 MB)
downloaded 10.7 MB
错误: 句法分析器15行里不能有多字节字符
停止执行
The downloaded source packages are in
‘C:\Users\86151\AppData\Local\Temp\RtmpqqxzhM\downloaded_packages’
Old packages: 'Rcpp'
Update all/some/none? [a/s/n]:
n
Warning message:
In .inet_warning(msg) :
installation of package ‘GenomeInfoDbData’ had non-zero exit status
The second,I downloaded it from website
install.packages("D:/Software/R/r_workplace/downloaded_packages/GenomeInfoDbData_1.2.7.tar.gz", repos = NULL, type = "source")
错误: 句法分析器15行里不能有多字节字符
停止执行
Warning in install.packages :
installation of package ‘D:/Software/R/r_workplace/downloaded_packages/GenomeInfoDbData_1.2.7.tar.gz’ had non-zero exit status
What should I do to install ? Thanks for answer this question.
sessionInfo( )
R version 4.1.2 (2021-11-01)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 22000)
Matrix products: default
locale:
[1] LC_COLLATE=Chinese (Simplified)_China.936
[2] LC_CTYPE=Chinese (Simplified)_China.936
[3] LC_MONETARY=Chinese (Simplified)_China.936
[4] LC_NUMERIC=C
[5] LC_TIME=Chinese (Simplified)_China.936
attached base packages:
[1] stats4 stats graphics grDevices utils datasets methods
[8] base
other attached packages:
[1] IRanges_2.28.0 S4Vectors_0.32.3 BiocGenerics_0.40.0
[4] installr_0.23.2
loaded via a namespace (and not attached):
[1] matrixStats_0.61.0 bitops_1.0-7 magrittr_2.0.2
[4] stringi_1.7.6 tools_4.1.2 stringr_1.4.0
[7] RCurl_1.98-1.6 MatrixGenerics_1.6.0 compiler_4.1.2
[10] BiocManager_1.30.16
I solved this problem.I decompressed this package and recompress as .zip,then used R to install.It can use now.