[英]error in loading r packages
source("http://bioconductor.org/biocLite.R")
biocLite("BSgenome")
'no packages in repository (no internet connection?)' while trying http://bioconductor.org/packages/3.2/bioc , trying http://bioconductor.org/packages/3.1/bioc Error: no packages in repository (no internet connection?)
尝试http://bioconductor.org/packages/3.2/bioc ,尝试http://bioconductor.org/packages/3.1/bioc时 “存储库中没有软件包(没有Internet连接?)”错误:存储库中没有软件包(无网络连接?)
I tried using other available solutions but cannot sort the issue. 我尝试使用其他可用的解决方案,但无法解决问题。 Please help.
请帮忙。
Thanks 谢谢
I got this when I used sessionInfo()
我在使用
sessionInfo()
时得到了这个
Error in system(paste(which, shQuote(names[i])), intern = TRUE, ignore.stderr = TRUE) : cannot popen '/usr/bin/which 'uname' 2>/dev/null', probable reason 'Cannot allocate memory'
系统错误(粘贴(其中,shQuote(names [i])),内部= TRUE,ignore.stderr = TRUE):无法弹出'/ usr / bin / which'uname'2> / dev / null',可能是原因“无法分配内存”
It works for me... so it looks like the problem is not in the sourcing or the code you're trying to load. 它对我有用...所以问题似乎不在于源代码或您尝试加载的代码。 Check and see if R can detect your internet connection:
检查并查看R是否可以检测到您的Internet连接:
system("ipconfig", intern = TRUE)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.