当前位置: 首页 > news >正文

肇庆做网站设计5188关键词挖掘

肇庆做网站设计,5188关键词挖掘,响水专业做网站,做电影网站用什么空间R | R包安装报错-github连接速度慢或无法访问 | metaboanalystR | Retip | rJava安装 一、metaboanalystR 安装1.1 Bioconductor报错,无网络连接1.2 github520-修改hosts文件 二、retip安装2.1 rJava包加载报错及安装2.2 安装Retip包 三、从Bioconductor安装Rdisop报…

R | R包安装报错-github连接速度慢或无法访问 | metaboanalystR | Retip | rJava安装

  • 一、metaboanalystR 安装
    • 1.1 Bioconductor报错,无网络连接
    • 1.2 github520-修改hosts文件
  • 二、retip安装
    • 2.1 rJava包加载报错及安装
    • 2.2 安装Retip包
  • 三、从Bioconductor安装Rdisop报错及解决方式
  • 四、Bioconductor安装报错总结

一、metaboanalystR 安装

Error: Bioconductor version cannot be validated; no internet connection?-2019-06-19
BiocManager安装R包失败——Bioconductor version cannot be validated
Windows电脑使用Rstudio会有多少错误呢

1.1 Bioconductor报错,无网络连接

报错问题:

Error: Bioconductor version cannot be validated; no internet connection?  See #troubleshooting section in vignette
pacman::p_load(c("impute", "pcaMethods", "globaltest", "GlobalAncova", "Rgraphviz", "preprocessCore", "genefilter", "sva", "limma", "KEGGgraph", "siggenes","BiocParallel", "MSnbase", "multtest","RBGL","edgeR","fgsea","httr","qs"))
将程序包安装入‘C:/Users/hp/AppData/Local/R/win-library/4.3’
(因为‘lib’没有被指定)
Warning: 无法在貯藏處http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/4.3中读写索引:cannot open URL 'http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/4.3/PACKAGES'
trying URL 'https://bioconductor.org/packages/3.17/bioc/bin/windows/contrib/4.3/BiocVersion_3.17.1.zip'
Content type 'application/zip' length 8264 bytes
downloaded 8264 bytes

在这里插入图片描述
在这里插入图片描述

在这里插入图片描述

在这里插入图片描述
在这里插入图片描述

1.2 github520-修改hosts文件

metaboanalystR
百度搜索github520
修改host文件

安装metaboanalystR,首先需要手动安装依赖包SSPA,但安装不成功。

解决方法

找到系统中的hosts 文件
Windows 系统:C:\Windows\System32\drivers\etc\hosts

以文本形式打开hosts 文件,图片中为笔者2023-11-8修改
在这里插入图片描述

– 复制Github520信息,并粘贴在上述打开的hosts文件中,保存。

  • 由于是在系统路径下,无法直接保存该文件,可将其先另存到桌面,再从桌面拖到C:\Windows\System32\drivers\etc\hosts路径下,接下来重启RStudio即可正常访问github并下载安装R包了;
  • 该文件内容可能需要定期更新,不能访问github时就可以重复以上操作。
> devtools::install_github("https://github.com/mvaniterson/SSPA")
Downloading GitHub repo mvaniterson/SSPA@HEAD
These packages have more recent versions available.
It is recommended to update all of them.
Which would you like to update?1: All                          
2: CRAN packages only           
3: None                         
4: vctrs (0.6.3 -> 0.6.4) [CRAN]
5: fansi (1.0.4 -> 1.0.5) [CRAN]Enter one or more numbers, or an empty line to skip updates: 1
vctrs  (0.6.3 -> 0.6.4 ) [CRAN]
fansi  (1.0.4 -> 1.0.5 ) [CRAN]
qvalue (NA    -> 2.32.0) [CRAN]
Installing 3 packages: vctrs, fansi, qvalue
将程序包安装入‘C:/Users/hp/AppData/Local/R/win-library/4.3’
(因为‘lib’没有被指定)
trying URL 'https://mirrors.sjtug.sjtu.edu.cn/cran/bin/windows/contrib/4.3/vctrs_0.6.4.zip'
Content type 'application/zip' length 1334820 bytes (1.3 MB)
downloaded 1.3 MBtrying URL 'https://mirrors.sjtug.sjtu.edu.cn/cran/bin/windows/contrib/4.3/fansi_1.0.5.zip'
Content type 'application/zip' length 314105 bytes (306 KB)
downloaded 306 KBtrying URL 'https://bioconductor.org/packages/3.17/bioc/bin/windows/contrib/4.3/qvalue_2.32.0.zip'
Content type 'application/zip' length 2809146 bytes (2.7 MB)
downloaded 2.7 MB程序包‘vctrs’打开成功,MD5和检查也通过
Warning: 无法将拆除原来安装的程序包‘vctrs’
Warning: 回复了‘vctrs’
程序包‘fansi’打开成功,MD5和检查也通过
程序包‘qvalue’打开成功,MD5和检查也通过下载的二进制程序包在C:\Users\hp\AppData\Local\Temp\RtmpCAEEVQ\downloaded_packages里
── R CMD build ───────────────────────────────────────────────────────────────────────────────────────────────────────────
✔  checking for file 'C:\Users\hp\AppData\Local\Temp\RtmpCAEEVQ\remotes52045d417c\mvaniterson-SSPA-6846d55/DESCRIPTION'
─  preparing 'SSPA':
✔  checking DESCRIPTION meta-information ...
─  cleaning src
─  checking for LF line-endings in source and make files and shell scripts
─  checking for empty or unneeded directories
─  looking to see if a 'data/datalist' file should be added
─  building 'SSPA_2.11.0.tar.gz'将程序包安装入‘C:/Users/hp/AppData/Local/R/win-library/4.3’
(因为‘lib’没有被指定)
* installing *source* package 'SSPA' ...
** using staged installation
** libs
using C compiler: 'gcc.exe (GCC) 12.3.0'
gcc  -I"D:/Program Files/R/R-4.3.1/include" -DNDEBUG     -I"D:/Apps install/Rtools/rtools43/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c Rinit.c -o Rinit.o
Rinit.c:8:40: warning: missing braces around initializer [-Wmissing-braces]8 | static const R_CMethodDef cMethods[] = {|                                        ^
gcc  -I"D:/Program Files/R/R-4.3.1/include" -DNDEBUG     -I"D:/Apps install/Rtools/rtools43/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c massdist.c -o massdist.o
gcc  -I"D:/Program Files/R/R-4.3.1/include" -DNDEBUG     -I"D:/Apps install/Rtools/rtools43/x86_64-w64-mingw32.static.posix/include"     -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c nncg.c -o nncg.o
nncg.c: In function 'objf':
nncg.c:57:11: warning: '*c[0]' may be used uninitialized [-Wmaybe-uninitialized]57 |   return(c[0]);|         ~~^~~~
gcc -shared -s -static-libgcc -o SSPA.dll tmp.def Rinit.o massdist.o nncg.o -LD:/Apps install/Rtools/rtools43/x86_64-w64-mingw32.static.posix/lib/x64 -LD:/Apps install/Rtools/rtools43/x86_64-w64-mingw32.static.posix/lib -LD:/Program Files/R/R-4.3.1/bin/x64 -lR
installing to C:/Users/hp/AppData/Local/R/win-library/4.3/00LOCK-SSPA/00new/SSPA/libs/x64
** R
** data
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (SSPA)
Warning message:
In file.copy(savedcopy, lib, recursive = TRUE) :problem copying C:\Users\hp\AppData\Local\R\win-library\4.3\00LOCK\vctrs\libs\x64\vctrs.dll to C:\Users\hp\AppData\Local\R\win-library\4.3\vctrs\libs\x64\vctrs.dll: Permission denied

在这里插入图片描述

在这里插入图片描述
安装metaboanalystR,
在这里插入图片描述
在这里插入图片描述

问题:未安装R包“crmn”,手动安装后,再本地安装“metaboanalystR”,安装成功。
在这里插入图片描述
在这里插入图片描述

二、retip安装

R语言rJava包安装载入及JAVA环境配置
R:xlsx/rJava无法加载的解决方法——java安装及版本查询

2.1 rJava包加载报错及安装

> devtools::install_github("https://github.com/PaoloBnn/Retip")
Downloading GitHub repo PaoloBnn/Retip@HEAD
These packages have more recent versions available.
It is recommended to update all of them.
Which would you like to update?1: All                          
2: CRAN packages only           
3: None                         
4: vctrs (0.6.3 -> 0.6.4) [CRAN]Enter one or more numbers, or an empty line to skip updates: 1
vctrs (0.6.3 -> 0.6.4) [CRAN]
Installing 1 packages: vctrs
将程序包安装入‘C:/Users/hp/AppData/Local/R/win-library/4.3’
(因为‘lib’没有被指定)
trying URL 'https://mirrors.sjtug.sjtu.edu.cn/cran/bin/windows/contrib/4.3/vctrs_0.6.4.zip'
Content type 'application/zip' length 1334820 bytes (1.3 MB)
downloaded 1.3 MB程序包‘vctrs’打开成功,MD5和检查也通过
Warning: 无法将拆除原来安装的程序包‘vctrs’
Warning: 回复了‘vctrs’下载的二进制程序包在C:\Users\hp\AppData\Local\Temp\Rtmp0WG2OO\downloaded_packages里
── R CMD build ───────────────────────────────────────────────────────────────────────────────────────────────────────────
✔  checking for file 'C:\Users\hp\AppData\Local\Temp\Rtmp0WG2OO\remotes47e451515493\PaoloBnn-Retip-8c23eda/DESCRIPTION' ...
─  preparing 'Retip':
✔  checking DESCRIPTION meta-information ... 
─  checking for LF line-endings in source and make files and shell scripts
─  checking for empty or unneeded directories
─  building 'Retip_0.5.4.tar.gz'将程序包安装入‘C:/Users/hp/AppData/Local/R/win-library/4.3’
(因为‘lib’没有被指定)
* installing *source* package 'Retip' ...
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** byte-compile and prepare package for lazy loading
Error: .onLoad failed in loadNamespace() for 'rJava', details:call: fun(libname, pkgname)error: JAVA_HOME cannot be determined from the Registry
Execution halted
ERROR: lazy loading failed for package 'Retip'
* removing 'C:/Users/hp/AppData/Local/R/win-library/4.3/Retip'
Warning messages:
1: In file.copy(savedcopy, lib, recursive = TRUE) :problem copying C:\Users\hp\AppData\Local\R\win-library\4.3\00LOCK\vctrs\libs\x64\vctrs.dll to C:\Users\hp\AppData\Local\R\win-library\4.3\vctrs\libs\x64\vctrs.dll: Permission denied
2: In i.p(...) :安装程序包‘C:/Users/hp/AppData/Local/Temp/Rtmp0WG2OO/file47e461ac715c/Retip_0.5.4.tar.gz’时退出狀態的值不是0
> install.packages("rJava")
将程序包安装入‘C:/Users/hp/AppData/Local/R/win-library/4.3’
(因为‘lib’没有被指定)
trying URL 'https://mirrors.sjtug.sjtu.edu.cn/cran/bin/windows/contrib/4.3/rJava_1.0-6.zip'
Content type 'application/zip' length 1300490 bytes (1.2 MB)
downloaded 1.2 MB程序包‘rJava’打开成功,MD5和检查也通过下载的二进制程序包在C:\Users\hp\AppData\Local\Temp\Rtmp0WG2OO\downloaded_packages里
> library(rJava)
Error: package or namespace load failed for ‘rJava’:loadNamespace()里算'rJava'时.onLoad失败了,详细内容:调用: fun(libname, pkgname)错误: JAVA_HOME cannot be determined from the Registry

在这里插入图片描述
在这里插入图片描述

Windows10下的超详细Java安装步骤
Java/JDK下载安装与环境配置(Windows 10 超详细的图文版教程 )

根据以上链接,首先安装Java,并进行环境配置。
在这里插入图片描述

以上,加载rJava包成功。

2.2 安装Retip包

> devtools::install_github("https://github.com/PaoloBnn/Retip")
Downloading GitHub repo PaoloBnn/Retip@HEAD
These packages have more recent versions available.
It is recommended to update all of them.
Which would you like to update?1: All                          
2: CRAN packages only           
3: None                         
4: vctrs (0.6.3 -> 0.6.4) [CRAN]Enter one or more numbers, or an empty line to skip updates: 1
vctrs (0.6.3 -> 0.6.4) [CRAN]
Installing 1 packages: vctrs
将程序包安装入‘C:/Users/hp/AppData/Local/R/win-library/4.3’
(因为‘lib’没有被指定)
trying URL 'https://mirrors.sjtug.sjtu.edu.cn/cran/bin/windows/contrib/4.3/vctrs_0.6.4.zip'
Error in download.file(url, destfile, method, mode = "wb", ...) : cannot open URL 'https://mirrors.sjtug.sjtu.edu.cn/cran/bin/windows/contrib/4.3/vctrs_0.6.4.zip'
In addition: Warning message:
In download.file(url, destfile, method, mode = "wb", ...) :URL 'https://mirrors.sjtug.sjtu.edu.cn/cran/bin/windows/contrib/4.3/vctrs_0.6.4.zip': status was 'Couldn't resolve host name'
Warning in download.packages(pkgs, destdir = tmpd, available = available,  :下载程序包‘vctrs’时出了问题
── R CMD build ───────────────────────────────────────────────────────────────────────────────────────────────────────────
✔  checking for file 'C:\Users\hp\AppData\Local\Temp\Rtmp0WG2OO\remotes47e4440c7b54\PaoloBnn-Retip-8c23eda/DESCRIPTION' (793ms)
─  preparing 'Retip':
✔  checking DESCRIPTION meta-information ... 
─  checking for LF line-endings in source and make files and shell scripts
─  checking for empty or unneeded directories
─  building 'Retip_0.5.4.tar.gz'将程序包安装入‘C:/Users/hp/AppData/Local/R/win-library/4.3’
(因为‘lib’没有被指定)
* installing *source* package 'Retip' ...
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (Retip)

安装成功。

三、从Bioconductor安装Rdisop报错及解决方式

从Bioconductor安装R包报错,网络未连接:

>if (!require("BiocManager", quietly = TRUE))install.packages("BiocManager")BiocManager::install("Rdisop")Error: Bioconductor version cannot be validated; no internet connection? See #troubleshooting section in vignette
>options(download.file.method = 'libcurl')  #问题解决>if (!require("BiocManager", quietly = TRUE))install.packages("BiocManager")BiocManager::install("Rdisop")

BiocManager无法安装R包

四、Bioconductor安装报错总结

  • 重启软件及电脑
  • 修改host文件
  • 安装java

文章转载自:
http://patronise.rqjL.cn
http://mesodontism.rqjL.cn
http://bulimia.rqjL.cn
http://centrifugate.rqjL.cn
http://oversweet.rqjL.cn
http://polyolefin.rqjL.cn
http://cochairman.rqjL.cn
http://hoik.rqjL.cn
http://speakership.rqjL.cn
http://halfpennyworth.rqjL.cn
http://pinfold.rqjL.cn
http://wilga.rqjL.cn
http://equerry.rqjL.cn
http://hotliner.rqjL.cn
http://moctezuma.rqjL.cn
http://inkstone.rqjL.cn
http://conscriptive.rqjL.cn
http://moviegoer.rqjL.cn
http://alleviate.rqjL.cn
http://facty.rqjL.cn
http://winning.rqjL.cn
http://deringer.rqjL.cn
http://headstone.rqjL.cn
http://warship.rqjL.cn
http://emanant.rqjL.cn
http://hippogriff.rqjL.cn
http://stapedectomy.rqjL.cn
http://adoptive.rqjL.cn
http://puncture.rqjL.cn
http://gbe.rqjL.cn
http://madre.rqjL.cn
http://anthobian.rqjL.cn
http://flour.rqjL.cn
http://anoopsia.rqjL.cn
http://imbalm.rqjL.cn
http://umiak.rqjL.cn
http://rivalrous.rqjL.cn
http://knap.rqjL.cn
http://upwards.rqjL.cn
http://textolite.rqjL.cn
http://bucksaw.rqjL.cn
http://halftone.rqjL.cn
http://glassteel.rqjL.cn
http://uncap.rqjL.cn
http://sutteeism.rqjL.cn
http://lacet.rqjL.cn
http://toxicant.rqjL.cn
http://antalkali.rqjL.cn
http://pacemaking.rqjL.cn
http://wellerism.rqjL.cn
http://constrictive.rqjL.cn
http://lithontriptic.rqjL.cn
http://anzus.rqjL.cn
http://nile.rqjL.cn
http://confirmed.rqjL.cn
http://lineate.rqjL.cn
http://gsm.rqjL.cn
http://trimethylglycine.rqjL.cn
http://bedstand.rqjL.cn
http://kinaesthesis.rqjL.cn
http://woolgathering.rqjL.cn
http://iatric.rqjL.cn
http://pyopericardium.rqjL.cn
http://photoinduction.rqjL.cn
http://sbm.rqjL.cn
http://gelatiniferous.rqjL.cn
http://prejudice.rqjL.cn
http://templar.rqjL.cn
http://urbanise.rqjL.cn
http://menorah.rqjL.cn
http://laryngitis.rqjL.cn
http://fitout.rqjL.cn
http://nj.rqjL.cn
http://grandly.rqjL.cn
http://gorgeous.rqjL.cn
http://hyfil.rqjL.cn
http://thrombocytopenia.rqjL.cn
http://lakeside.rqjL.cn
http://disequilibrate.rqjL.cn
http://gemsbuck.rqjL.cn
http://communistic.rqjL.cn
http://diligence.rqjL.cn
http://pessimism.rqjL.cn
http://fringillid.rqjL.cn
http://hjelmslevian.rqjL.cn
http://brinjaul.rqjL.cn
http://tokoloshe.rqjL.cn
http://reinflation.rqjL.cn
http://cosmographic.rqjL.cn
http://ragpicker.rqjL.cn
http://semiconductor.rqjL.cn
http://birefringence.rqjL.cn
http://microprogrammed.rqjL.cn
http://plus.rqjL.cn
http://trellised.rqjL.cn
http://consuetudinary.rqjL.cn
http://valerian.rqjL.cn
http://fthm.rqjL.cn
http://phonebooth.rqjL.cn
http://contracted.rqjL.cn
http://www.dt0577.cn/news/62831.html

相关文章:

  • 网站扁平化廊坊seo外包
  • 网站开发常用单词百度知道首页网
  • 西安市建设和住房保障局网站免费外链发布平台
  • 网页设计制作报价郑州seo代理外包公司
  • qq网站推广代码职业培训热门行业
  • 雄安做网站要多少钱seo培训一对一
  • 湘潭做网站 都来磐石网络友情链接实例
  • 网站备案手续企业推广策略
  • wordpress说说分类seo外包公司兴田德润
  • 专业企业网站建设百度咨询电话人工台
  • 做网站是什么行业免费网站推广产品
  • 网站建设工作流程html网络市场的四大特点
  • seo网站优化经理百度服务电话6988
  • 河北省政府网站集约化建设优量汇广告平台
  • 响应的网站长沙seo优化公司
  • 网站建设网络推广方案查询网站服务器
  • php动态网站开发课后经典软文
  • 苏州公司做变更网站上海网络推广服务
  • 公司做网站的价格几千元营销型网站设计
  • 专门做美剧的网站全网推广平台
  • 域名跟空间都有了怎么做网站万物识别扫一扫
  • 定制wordpress后台广州seo代理计费
  • 网站的制作公司网络营销一个月能挣多少钱
  • 后台管理网站建设网站优化外包费用
  • wordpress密码进入网站2345网址导航官网
  • 红旗网站建设提升seo排名的方法
  • 网站建设 人性的弱点磁力链搜索引擎入口
  • 潍坊网站建设招商谷歌浏览器app
  • 查看网站是哪家做的怎么看广东seo推广方案
  • jsp购物网站开发视频一键优化清理加速